PKGBUILDs/extra/hexcurse/hexcurse-alloca.patch

14 lines
360 B
Diff
Raw Normal View History

2009-10-10 02:23:22 +00:00
--- src/getopt.c 2002-03-21 17:55:54.000000000 +0100
+++ /root/getopt.c 2004-08-09 12:52:39.592951560 +0200
@@ -36,8 +36,8 @@
* enables hexcurse to be compiled with SGI's proprietary compiler */
#ifdef _SGIAPI
#include <alloca.h>
-#else
-char *alloca ();
+//#else
+//char *alloca ();
#endif
#define __alloca alloca
/* end of modification */