diff options
author | Stefan Eßer <se@FreeBSD.org> | 2001-11-24 14:11:09 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2001-11-24 14:11:09 +0000 |
commit | 1542d3daa957ac684b6b1be6fcd09dabcff4fc75 (patch) | |
tree | fd0c54b97ac4d14313552d716ff7ddbdcc62376a /games/acm | |
parent | upgrade 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-06 | 14 | ||||
-rw-r--r-- | games/acm/files/patch-07 | 14 |
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> |