openbsd-ports/cad/chipmunk/patches/patch-psys_include_p2c_p2c_h
espie a8c2b00374 local function declarations don't mean anything in C, and gcc4 complains
more loudly.

regen patches with newer diff while I'm there.
2010-05-09 17:18:53 +00:00

12 lines
467 B
Plaintext

$OpenBSD: patch-psys_include_p2c_p2c_h,v 1.2 2010/05/09 17:18:53 espie Exp $
--- psys/include/p2c/p2c.h.orig Wed Mar 12 23:47:35 2003
+++ psys/include/p2c/p2c.h Sun May 9 19:11:21 2010
@@ -336,6 +336,7 @@ extern Void P_sun_argv PP( (char *, int, int) );
#define EndOfFile 30
/* Creating temporary files */
+#define HAVE_TMPFILE
#if (defined(BSD) || defined(NO_TMPFILE)) && !defined(HAVE_TMPFILE)
# define tmpfile() (fopen(tmpnam(NULL), "w+"))
#endif