summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLina Pezzella <j4rg0n@gentoo.org>2005-01-20 16:50:13 +0000
committerLina Pezzella <j4rg0n@gentoo.org>2005-01-20 16:50:13 +0000
commita4fd795edc9241466f897d710fce2d8791a31591 (patch)
treeb8cf1d104708751a0bdd33ede5defc6c708c0fff /media-gfx/xv/files
parentsharpen gst core dep (Manifest recommit) (diff)
downloadgentoo-2-a4fd795edc9241466f897d710fce2d8791a31591.tar.gz
gentoo-2-a4fd795edc9241466f897d710fce2d8791a31591.tar.bz2
gentoo-2-a4fd795edc9241466f897d710fce2d8791a31591.zip
Unstable ppc-macos. Thanks trixtrax@comcast.net for the patches!
(Portage version: 2.0.51-r14)
Diffstat (limited to 'media-gfx/xv/files')
-rw-r--r--media-gfx/xv/files/xv-3.10a-makefile-osx.patch20
-rw-r--r--media-gfx/xv/files/xv-3.10a-vdcomp-osx.patch11
-rw-r--r--media-gfx/xv/files/xv-3.10a-xv-osx.patch20
3 files changed, 51 insertions, 0 deletions
diff --git a/media-gfx/xv/files/xv-3.10a-makefile-osx.patch b/media-gfx/xv/files/xv-3.10a-makefile-osx.patch
new file mode 100644
index 000000000000..8dc6f6335720
--- /dev/null
+++ b/media-gfx/xv/files/xv-3.10a-makefile-osx.patch
@@ -0,0 +1,20 @@
+--- Makefile.orig Mon Aug 23 00:49:23 2004
++++ Makefile Mon Aug 23 00:36:19 2004
+@@ -123,7 +123,7 @@
+
+
+ ### for LINUX, uncomment the following line
+-MCHN = -DLINUX
++#MCHN = -DLINUX
+
+
+ # For SCO 1.1 (UNIX 3.2v2) machines, uncomment the following:
+@@ -184,7 +184,7 @@
+ # if, during compilation, your system complains about the types
+ # 'u_long', 'u_short', 'u_int', etc. as being undefined, uncomment the
+ # following line:
+-BSDTYPES = -DBSDTYPES
++#BSDTYPES = -DBSDTYPES
+
+
+ # if your machine doesn't have 'vprintf()' or 'vsprintf()'
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
diff --git a/media-gfx/xv/files/xv-3.10a-xv-osx.patch b/media-gfx/xv/files/xv-3.10a-xv-osx.patch
new file mode 100644
index 000000000000..dff79f8719a0
--- /dev/null
+++ b/media-gfx/xv/files/xv-3.10a-xv-osx.patch
@@ -0,0 +1,20 @@
+--- xv.h.orig Mon Aug 23 00:36:59 2004
++++ xv.h Mon Aug 23 00:42:13 2004
+@@ -115,7 +115,7 @@
+ #ifndef VMS
+ # include <errno.h>
+ extern int errno; /* SHOULD be in errno.h, but often isn't */
+-# ifndef __NetBSD__
++# if defined (__NetBSD__) && !defined(__APPLE__)
+ extern char *sys_errlist[]; /* this too... */
+ # endif
+ #endif
+@@ -163,6 +163,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