freebsd-ports/devel/xxgdb/files/patch-regex.c
John Marino 20c13c3a06 devel/xxgdb: Expand patches to support malloc.h-less DF
While here, regenerate all the patches.
2015-11-13 09:02:16 +00:00

20 lines
460 B
C

--- regex.c.orig 1995-04-19 16:58:00 UTC
+++ regex.c
@@ -114,7 +114,7 @@ what you give them. Help stamp out sof
* Date : July 27, 1990
*/
-#ifndef NeXT
+#if !defined(NeXT) && !defined(__FreeBSD__) && !defined(__DragonFly__)
#include <malloc.h>
#endif
#include <string.h>
@@ -123,7 +123,7 @@ what you give them. Help stamp out sof
#include <assert.h>
#ifdef sparc
-#include <alloca.h>
+/* #include <alloca.h> */
#else
#pragma alloca
#endif