summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/xv/files/xv-3.10a-vdcomp-osx.patch')
-rw-r--r--media-gfx/xv/files/xv-3.10a-vdcomp-osx.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-gfx/xv/files/xv-3.10a-vdcomp-osx.patch b/media-gfx/xv/files/xv-3.10a-vdcomp-osx.patch
new file mode 100644
index 000000000000..d05c67967a85
--- /dev/null
+++ b/media-gfx/xv/files/xv-3.10a-vdcomp-osx.patch
@@ -0,0 +1,11 @@
+--- vdcomp.c.orig Mon Aug 23 00:47:40 2004
++++ vdcomp.c Mon Aug 23 00:43:34 2004
+@@ -112,6 +112,8 @@
+
+ # if defined(hp300) || defined(hp800) || defined(NeXT)
+ # include <sys/malloc.h> /* it's in 'sys' on HPs and NeXT */
++# elif defined(__APPLE__)
++# include <malloc/malloc.h>
+ # else
+ # include <malloc.h>
+ # endif