From a4fd795edc9241466f897d710fce2d8791a31591 Mon Sep 17 00:00:00 2001 From: Lina Pezzella Date: Thu, 20 Jan 2005 16:50:13 +0000 Subject: Unstable ppc-macos. Thanks trixtrax@comcast.net for the patches! (Portage version: 2.0.51-r14) --- media-gfx/xv/files/xv-3.10a-makefile-osx.patch | 20 ++++++++++++++++++++ media-gfx/xv/files/xv-3.10a-vdcomp-osx.patch | 11 +++++++++++ media-gfx/xv/files/xv-3.10a-xv-osx.patch | 20 ++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 media-gfx/xv/files/xv-3.10a-makefile-osx.patch create mode 100644 media-gfx/xv/files/xv-3.10a-vdcomp-osx.patch create mode 100644 media-gfx/xv/files/xv-3.10a-xv-osx.patch (limited to 'media-gfx/xv/files') 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 /* it's in 'sys' on HPs and NeXT */ ++# elif defined(__APPLE__) ++# include + # else + # include + # 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 + 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 /* it's in 'sys' on HPs and NeXT */ ++# elif defined(__APPLE__) ++# include + # else + # include + # endif -- cgit v1.2.3-65-gdbad