aboutsummaryrefslogtreecommitdiff
path: root/editors/hexcurse
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-06-12 22:09:18 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-06-12 22:09:18 +0000
commit57ff3b4db601cf8fdcad789a01506a8dcdfeefda (patch)
treeb4decd8b54d9ef58a272987a75d96251d5cf1c64 /editors/hexcurse
parent5a528c293271a2e0cd234d1eb63f4b8fdeea64e5 (diff)
downloadports-57ff3b4db601cf8fdcad789a01506a8dcdfeefda.tar.gz
ports-57ff3b4db601cf8fdcad789a01506a8dcdfeefda.zip
Fix build with gcc34
Notes
Notes: svn path=/head/; revision=111361
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 */