pkgsrc/games/warzone2100/patches/patch-ab
jmcneill 4653218426 Import warzone2100 version 2.1.1.
In Warzone 2100 you command the forces of "The Project" in a battle to rebuild
the world after mankind has almost been destroyed by nuclear missiles. The game
offers campaign, tutorial, multi-player and single-player skirmish modes. An
extensive tech tree with over 400 different technologies, combined with the
unit design system, allows for a wide variety of possible units and tactics.
Warzone 2100 was created by Pumpkin Studios, published by Eidos Interactive and
is currently developed by the Warzone 2100 Resurrection Project.
2009-02-15 16:05:43 +00:00

17 lines
380 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2009/02/15 16:05:43 jmcneill Exp $
--- lib/framework/wzglobal.h.orig 2008-12-21 13:41:15.000000000 -0500
+++ lib/framework/wzglobal.h
@@ -522,7 +522,11 @@
#elif defined(WZ_OS_UNIX)
# include <unistd.h>
-# include <alloca.h>
+# if defined(__linux__)
+# include <alloca.h>
+# else
+# include <stdlib.h>
+# endif
#endif /* WZ_OS_* */