summaryrefslogtreecommitdiff
path: root/games/acm
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2001-11-24 14:11:09 +0000
committerStefan Eßer <se@FreeBSD.org>2001-11-24 14:11:09 +0000
commit1542d3daa957ac684b6b1be6fcd09dabcff4fc75 (patch)
treefd0c54b97ac4d14313552d716ff7ddbdcc62376a /games/acm
parentupgrade to 4.1.0 (diff)
Use stdlib.h instead of malloc.h, which is deprecated.
Diffstat (limited to 'games/acm')
-rw-r--r--games/acm/files/patch-0614
-rw-r--r--games/acm/files/patch-0714
2 files changed, 28 insertions, 0 deletions
diff --git a/games/acm/files/patch-06 b/games/acm/files/patch-06
new file mode 100644
index 000000000000..3401cedee816
--- /dev/null
+++ b/games/acm/files/patch-06
@@ -0,0 +1,14 @@
+--- src/chaser.c~ Tue May 12 05:43:03 1998
++++ src/chaser.c Sat Nov 24 14:47:05 2001
+@@ -20,7 +20,11 @@
+ #include "pm.h"
+ #include <X11/Xutil.h>
+ #include <X11/keysym.h>
++#ifdef HAVE_STDLIB_H
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+
+ #define MAX_MAPPED_STRING_LEN 20
+ #define MAX_POPUP_STRING_LEN 40
diff --git a/games/acm/files/patch-07 b/games/acm/files/patch-07
new file mode 100644
index 000000000000..47a96da07835
--- /dev/null
+++ b/games/acm/files/patch-07
@@ -0,0 +1,14 @@
+--- dis/server/sites.c~ Sat Nov 24 14:46:24 2001
++++ dis/server/sites.c Sat Nov 24 14:46:03 2001
+@@ -27,7 +27,11 @@
+ * README file.
+ */
+ #include <server.h>
++#ifdef HAVE_STDLIB_H
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+ #include <string.h>
+ #ifdef HAVE_NDBM
+ #include <ndbm.h>