aboutsummaryrefslogtreecommitdiff
path: root/games/scorched3d/files/patch-src-3dsparse-aseFile.tab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/scorched3d/files/patch-src-3dsparse-aseFile.tab.cpp')
-rw-r--r--games/scorched3d/files/patch-src-3dsparse-aseFile.tab.cpp26
1 files changed, 15 insertions, 11 deletions
diff --git a/games/scorched3d/files/patch-src-3dsparse-aseFile.tab.cpp b/games/scorched3d/files/patch-src-3dsparse-aseFile.tab.cpp
index a14e1375cd5f..505201c9d88b 100644
--- a/games/scorched3d/files/patch-src-3dsparse-aseFile.tab.cpp
+++ b/games/scorched3d/files/patch-src-3dsparse-aseFile.tab.cpp
@@ -1,11 +1,15 @@
---- src/3dsparse/aseFile.tab.cpp.orig Mon Nov 3 20:54:39 2003
-+++ src/3dsparse/aseFile.tab.cpp Mon Nov 3 20:55:14 2003
-@@ -5,7 +5,7 @@
-
- #define YYBISON 1 /* Identify Bison output. */
-
--#define alloca
-+/* #define alloca */
-
- #define yyparse aseparse
- #define yylex aselex
+--- ./src/3dsparse/aseFile.tab.cpp.orig Fri Jan 23 17:58:58 2004
++++ ./src/3dsparse/aseFile.tab.cpp Fri Jan 23 18:01:17 2004
+@@ -330,10 +330,10 @@
+ #include <alloca.h>
+ #else /* not sparc */
+ #if defined (MSDOS) && !defined (__TURBOC__)
+-#include <malloc.h>
++#include <stdlib.h>
+ #else /* not MSDOS, or __TURBOC__ */
+ #if defined(_AIX)
+-#include <malloc.h>
++#include <stdlib.h>
+ #pragma alloca
+ #else /* not MSDOS, __TURBOC__, or _AIX */
+ #ifdef __hpux