diff options
author | Lina Pezzella <j4rg0n@gentoo.org> | 2005-01-20 16:50:13 +0000 |
---|---|---|
committer | Lina Pezzella <j4rg0n@gentoo.org> | 2005-01-20 16:50:13 +0000 |
commit | a4fd795edc9241466f897d710fce2d8791a31591 (patch) | |
tree | b8cf1d104708751a0bdd33ede5defc6c708c0fff /media-gfx | |
parent | sharpen gst core dep (Manifest recommit) (diff) | |
download | gentoo-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')
-rw-r--r-- | media-gfx/xv/ChangeLog | 5 | ||||
-rw-r--r-- | media-gfx/xv/files/xv-3.10a-makefile-osx.patch | 20 | ||||
-rw-r--r-- | media-gfx/xv/files/xv-3.10a-vdcomp-osx.patch | 11 | ||||
-rw-r--r-- | media-gfx/xv/files/xv-3.10a-xv-osx.patch | 20 | ||||
-rw-r--r-- | media-gfx/xv/xv-3.10a-r9.ebuild | 10 |
5 files changed, 63 insertions, 3 deletions
diff --git a/media-gfx/xv/ChangeLog b/media-gfx/xv/ChangeLog index 62f08c22b024..ceddc18fc2c1 100644 --- a/media-gfx/xv/ChangeLog +++ b/media-gfx/xv/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/xv # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/ChangeLog,v 1.41 2005/01/04 14:10:17 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/ChangeLog,v 1.42 2005/01/20 16:50:13 j4rg0n Exp $ + + 20 Jan 2005; Lina Pezzella <j4rg0n@gentoo.org> xv-3.10a-r9.ebuild: + Unstable ppc-macos. Thanks to Trixtrax@comcast.net for the patchset. *xv-3.10a-r9 (04 Jan 2005) 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 diff --git a/media-gfx/xv/xv-3.10a-r9.ebuild b/media-gfx/xv/xv-3.10a-r9.ebuild index 28b918f25792..9edbd7bb67dc 100644 --- a/media-gfx/xv/xv-3.10a-r9.ebuild +++ b/media-gfx/xv/xv-3.10a-r9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/xv-3.10a-r9.ebuild,v 1.1 2005/01/04 14:10:17 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/xv-3.10a-r9.ebuild,v 1.2 2005/01/20 16:50:13 j4rg0n Exp $ inherit ccc flag-o-matic eutils @@ -11,7 +11,7 @@ SRC_URI="ftp://ftp.cis.upenn.edu/pub/xv/${P}.tar.gz LICENSE="xv" SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~ia64 ~amd64 ~ppc64" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~ia64 ~amd64 ~ppc64 ~ppc-macos" IUSE="jpeg tiff png" DEPEND="virtual/x11 @@ -37,6 +37,12 @@ src_unpack() { epatch ${FILESDIR}/xv-smoothing-algorithm.diff || die epatch ${FILESDIR}/xv-optimize-jpeg.diff || die epatch ${FILESDIR}/xv-postscript-double-free.diff || die + + if use ppc-macos; then + epatch ${FILESDIR}/${P}-xv-osx.patch + epatch ${FILESDIR}/${P}-vdcomp-osx.patch + epatch ${FILESDIR}/${P}-makefile-osx.patch + fi } src_compile() { |