summaryrefslogtreecommitdiff
path: root/games/openmortal/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-08 20:53:47 +0000
committerjoerg <joerg>2007-08-08 20:53:47 +0000
commit3f863cbab20a2b2136b3ab63a3493a97c5a3d755 (patch)
tree4fc6f5afd954046bf50236b8d40765c297bb804e /games/openmortal/patches
parent603cce36dfe12970aec73826ec57915d37620669 (diff)
downloadpkgsrc-3f863cbab20a2b2136b3ab63a3493a97c5a3d755.tar.gz
Don't use malloc.h.
Diffstat (limited to 'games/openmortal/patches')
-rw-r--r--games/openmortal/patches/patch-ad13
-rw-r--r--games/openmortal/patches/patch-ae12
2 files changed, 25 insertions, 0 deletions
diff --git a/games/openmortal/patches/patch-ad b/games/openmortal/patches/patch-ad
new file mode 100644
index 00000000000..ee40a254559
--- /dev/null
+++ b/games/openmortal/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2007/08/08 20:53:47 joerg Exp $
+
+--- src/gfx.cpp.orig 2007-08-08 20:28:38.000000000 +0000
++++ src/gfx.cpp
+@@ -7,7 +7,7 @@
+ ***************************************************************************/
+
+ #include <string.h>
+-#include <malloc.h>
++#include <stdlib.h>
+
+
+ #include "SDL.h"
diff --git a/games/openmortal/patches/patch-ae b/games/openmortal/patches/patch-ae
new file mode 100644
index 00000000000..d9cf42a4159
--- /dev/null
+++ b/games/openmortal/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1 2007/08/08 20:53:47 joerg Exp $
+
+--- src/sge_tt_text.cpp.orig 2007-08-08 20:28:55.000000000 +0000
++++ src/sge_tt_text.cpp
+@@ -26,7 +26,6 @@
+
+ #include "SDL.h"
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <memory.h>
+ #include <string.h>
+ #include <stdarg.h>