aboutsummaryrefslogtreecommitdiffstats
path: root/editors/hexcurse
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-06-13 06:09:18 +0800
committerarved <arved@FreeBSD.org>2004-06-13 06:09:18 +0800
commit805897ffe292851d33fd466291a5f48c1371f72e (patch)
tree2aa978c30104aeec84c1d03e9a04a48ac16a6c1d /editors/hexcurse
parent505971e2aa173ace54f2527a1c2bf487db88705a (diff)
downloadfreebsd-ports-gnome-805897ffe292851d33fd466291a5f48c1371f72e.tar.gz
freebsd-ports-gnome-805897ffe292851d33fd466291a5f48c1371f72e.tar.zst
freebsd-ports-gnome-805897ffe292851d33fd466291a5f48c1371f72e.zip
Fix build with gcc34
Diffstat (limited to 'editors/hexcurse')
-rw-r--r--editors/hexcurse/files/patch-getopt.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/hexcurse/files/patch-getopt.c b/editors/hexcurse/files/patch-getopt.c
new file mode 100644
index 000000000000..627eefbb997f
--- /dev/null
+++ b/editors/hexcurse/files/patch-getopt.c
@@ -0,0 +1,11 @@
+--- src/getopt.c.orig Sun Jun 13 00:06:12 2004
++++ src/getopt.c Sun Jun 13 00:07:48 2004
+@@ -36,8 +36,6 @@
+ * enables hexcurse to be compiled with SGI's proprietary compiler */
+ #ifdef _SGIAPI
+ #include <alloca.h>
+-#else
+-char *alloca ();
+ #endif
+ #define __alloca alloca
+ /* end of modification */