aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormita <mita@FreeBSD.org>2002-01-05 08:48:22 +0800
committermita <mita@FreeBSD.org>2002-01-05 08:48:22 +0800
commit1b19ac1c121ea4666b9369df42a02074ac98cee8 (patch)
tree26f6a9e248c224c59e8d37d27bb2536b794efe7c /misc
parent21bef10fe9e5d35990f248e17244481fb739eaa2 (diff)
downloadfreebsd-ports-graphics-1b19ac1c121ea4666b9369df42a02074ac98cee8.tar.gz
freebsd-ports-graphics-1b19ac1c121ea4666b9369df42a02074ac98cee8.tar.zst
freebsd-ports-graphics-1b19ac1c121ea4666b9369df42a02074ac98cee8.zip
use stdlib.h instead of malloc.h For compatibility with 5-current.
This change does not affect 4-stable ports. PR: ports/32071 Submitted by: also from Nicolas Jombart
Diffstat (limited to 'misc')
-rw-r--r--misc/magicpoint/files/patch-aa11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/magicpoint/files/patch-aa b/misc/magicpoint/files/patch-aa
new file mode 100644
index 00000000000..cc947ab62f1
--- /dev/null
+++ b/misc/magicpoint/files/patch-aa
@@ -0,0 +1,11 @@
+--- image/new.c.orig Sun Dec 30 18:08:41 2001
++++ image/new.c Sun Dec 30 18:08:58 2001
+@@ -11,7 +11,7 @@
+ #include "copyright.h"
+ #include "image.h"
+
+-#include <malloc.h>
++#include <stdlib.h>
+
+ extern int _Xdebug;
+ extern void memoryExhausted(void);