freebsd-ports/games/ssc/files/patch-support-ode-0.039-configurator.c
Kirill Ponomarev 961254088e Add games/ssc-0.8,
SSC is a 2D space shoot-em-up featuring interesting physics and
alife. Destroy all enemies on screen to proceed to the next
level. Inherits a lot of ideas from the game Koules.

PR:		61507
Submitted by:	Igor Pokrovsky <tiamat@comset.net>
2004-01-18 09:32:17 +00:00

15 lines
455 B
C

--- support/ode-0.039/configurator.c.orig Sat Jan 17 16:34:29 2004
+++ support/ode-0.039/configurator.c Sat Jan 17 16:35:46 2004
@@ -249,7 +249,11 @@
#define NUM_HEADERS 8
char *header_files[NUM_HEADERS] = {
"stdio.h", "stdlib.h", "math.h", "string.h",
- "stdarg.h", "malloc.h", "alloca.h",
+ "stdarg.h",
+#ifndef __FreeBSD__
+ "malloc.h",
+#endif
+ "alloca.h",
"ieeefp.h" // Solaris needs this apparently
};
int header_used[NUM_HEADERS];