aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-07-31 12:10:29 +0200
committerJustin Lecher <jlec@gentoo.org>2012-07-31 12:10:29 +0200
commit62d00614d5e2db29124d91b30c4545e906d807f7 (patch)
tree3a8c127088640a2a8484068ff15c14fa1725bd86 /x11-libs/xview/files/xview-3.2-impl-dec.patch
parentsci-chemistry/nmrpipe: Version Bump, bring x11-libs/xview back into the game (diff)
downloadsci-62d00614d5e2db29124d91b30c4545e906d807f7.tar.gz
sci-62d00614d5e2db29124d91b30c4545e906d807f7.tar.bz2
sci-62d00614d5e2db29124d91b30c4545e906d807f7.zip
x11-libs/xview: Use everything from debian; build only 32bit libs everywhere; be carefully this is very hacky approach
(Portage version: 2.2.0_alpha120/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'x11-libs/xview/files/xview-3.2-impl-dec.patch')
-rw-r--r--x11-libs/xview/files/xview-3.2-impl-dec.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/x11-libs/xview/files/xview-3.2-impl-dec.patch b/x11-libs/xview/files/xview-3.2-impl-dec.patch
new file mode 100644
index 000000000..0296a9aeb
--- /dev/null
+++ b/x11-libs/xview/files/xview-3.2-impl-dec.patch
@@ -0,0 +1,30 @@
+ lib/libxview/misc/hashfn.c | 1 +
+ lib/libxview/win/win_env.c | 3 +++
+ 2 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/lib/libxview/misc/hashfn.c b/lib/libxview/misc/hashfn.c
+index f127e2b..a7b27b9 100644
+--- a/lib/libxview/misc/hashfn.c
++++ b/lib/libxview/misc/hashfn.c
+@@ -17,6 +17,7 @@ static char sccsid[] = "@(#)hashfn.c 20.12 93/06/28";
+ #define hashfn_c
+
+ #include <xview_private/hashfn.h>
++#include <stdlib.h>
+
+ /*
+ * hashfn_new_table(size, hash_fn, cmp_fn) -- create a new hash table object
+diff --git a/lib/libxview/win/win_env.c b/lib/libxview/win/win_env.c
+index d8e7fcc..72f1def 100644
+--- a/lib/libxview/win/win_env.c
++++ b/lib/libxview/win/win_env.c
+@@ -18,6 +18,9 @@ static char sccsid[] = "@(#)win_env.c 20.16 93/06/28";
+ #include <xview/rect.h>
+ #include <xview/win_env.h>
+ #include <xview/win_struct.h>
++#include <stdlib.h>
++#include <string.h>
++#include <stdio.h>
+
+ /*
+ * Public routines