summaryrefslogtreecommitdiff
path: root/multimedia/xanim/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-05 15:37:34 +0000
committerjoerg <joerg>2007-08-05 15:37:34 +0000
commit46385ec61be2cb12044ada2933a258b705a1da55 (patch)
tree350636371f1ea721e8e4b8227d8eff09c13c957e /multimedia/xanim/patches
parent67470329449f8e7fb70b79329eefe701ee3e0789 (diff)
downloadpkgsrc-46385ec61be2cb12044ada2933a258b705a1da55.tar.gz
Don't use malloc.h, use stdlib.h.
Diffstat (limited to 'multimedia/xanim/patches')
-rw-r--r--multimedia/xanim/patches/patch-aa31
1 files changed, 31 insertions, 0 deletions
diff --git a/multimedia/xanim/patches/patch-aa b/multimedia/xanim/patches/patch-aa
new file mode 100644
index 00000000000..044e2913f40
--- /dev/null
+++ b/multimedia/xanim/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1 2007/08/05 15:37:35 joerg Exp $
+
+--- xanim.h.orig 2007-08-05 15:12:18.000000000 +0000
++++ xanim.h
+@@ -18,7 +18,7 @@
+ #include <Xos.h>
+ #include <stdio.h>
+ #include <sys/types.h>
+-#include <stdio.h>
++#include <stdlib.h>
+
+ #ifndef VMS
+
+@@ -27,17 +27,6 @@
+ #include <memory.h>
+ #endif
+
+-#ifdef __bsdi__
+-#include <sys/malloc.h>
+-#else
+-#ifndef __CYGWIN32__
+-#ifndef __FreeBSD__
+-#include <malloc.h>
+-#endif
+-#endif
+-#endif
+-
+-
+ #include <unistd.h>
+ #else
+ #include <unixio.h>