summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-05 15:37:34 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-05 15:37:34 +0000
commitea6c77b18b7f297f0f97c86c67accc85537bed16 (patch)
tree350636371f1ea721e8e4b8227d8eff09c13c957e /multimedia
parent1aa42a38d1b6f2905a3d9d4ad9f4d1d3a8e44821 (diff)
downloadpkgsrc-ea6c77b18b7f297f0f97c86c67accc85537bed16.tar.gz
Don't use malloc.h, use stdlib.h.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xanim/distinfo3
-rw-r--r--multimedia/xanim/patches/patch-aa31
2 files changed, 33 insertions, 1 deletions
diff --git a/multimedia/xanim/distinfo b/multimedia/xanim/distinfo
index 05a3272bc9c..33fab44ed68 100644
--- a/multimedia/xanim/distinfo
+++ b/multimedia/xanim/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2006/12/23 10:33:29 wiz Exp $
+$NetBSD: distinfo,v 1.6 2007/08/05 15:37:34 joerg Exp $
SHA1 (xanim2920.tar.gz) = 8adb5948cc6fd9bba5417aee4d319b5f041830e8
RMD160 (xanim2920.tar.gz) = dae33cdbd9f20388a067df8269b625f2594cdfb9
@@ -54,5 +54,6 @@ Size (xa2.0_cvid_linuxPPC.o.gz) = 3873 bytes
SHA1 (xa1.0_cyuv_linuxPPC.o.gz) = 5f9b760d8fc2717b61288a765589a4b80387a6b1
RMD160 (xa1.0_cyuv_linuxPPC.o.gz) = 9dd88d8eddb9f2f7b347e3673be5f388c639e821
Size (xa1.0_cyuv_linuxPPC.o.gz) = 1287 bytes
+SHA1 (patch-aa) = 4d2f360bca128e979951227b3ff1b645a82ce7f3
SHA1 (patch-ab) = c9fd497ee20efc699a84367ee36d34f5aff6da66
SHA1 (patch-ae) = 6023e76bc0471a0810b0789cd24355c06eac02b8
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>