summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-07-07 01:03:20 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-07-07 01:03:20 +0000
commitad8844b6c93cf164fedb018d34610c5767cbe8ab (patch)
tree385a1509a0b2fcd04b90dc5e091ac84841d910bf /media-plugins
parentStable on alpha. (diff)
downloadhistorical-ad8844b6c93cf164fedb018d34610c5767cbe8ab.tar.gz
historical-ad8844b6c93cf164fedb018d34610c5767cbe8ab.tar.bz2
historical-ad8844b6c93cf164fedb018d34610c5767cbe8ab.zip
~amd64. -sparc
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/xmms-nsf/ChangeLog6
-rw-r--r--media-plugins/xmms-nsf/Manifest5
-rw-r--r--media-plugins/xmms-nsf/files/xmms-nsf-0.0.3-PIC.patch27
-rw-r--r--media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild17
4 files changed, 49 insertions, 6 deletions
diff --git a/media-plugins/xmms-nsf/ChangeLog b/media-plugins/xmms-nsf/ChangeLog
index a3ffe1498443..419571c7f68b 100644
--- a/media-plugins/xmms-nsf/ChangeLog
+++ b/media-plugins/xmms-nsf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/xmms-nsf
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-nsf/ChangeLog,v 1.8 2004/06/24 23:44:15 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-nsf/ChangeLog,v 1.9 2004/07/07 01:03:20 eradicator Exp $
+
+ 06 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ +files/xmms-nsf-0.0.3-PIC.patch:
+ ~amd64. -sparc
22 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org>
xmms-nsf-0.0.3.ebuild:
diff --git a/media-plugins/xmms-nsf/Manifest b/media-plugins/xmms-nsf/Manifest
index 7dd1e363a519..7ba1d23e9c3e 100644
--- a/media-plugins/xmms-nsf/Manifest
+++ b/media-plugins/xmms-nsf/Manifest
@@ -1,5 +1,6 @@
-MD5 b834f41ac3a41f82b851ed51f23d417b xmms-nsf-0.0.3.ebuild 729
-MD5 af3cebe08ff5bbd300be088d7bbb0d1a ChangeLog 890
+MD5 d3eaaaa817b6cf8a851e5be7c79a5bf8 ChangeLog 1002
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 1dc4932c91592eb3c67bbf0209b81e66 xmms-nsf-0.0.3.ebuild 991
MD5 97224410e57c687737a5624e6ca43faa files/digest-xmms-nsf-0.0.3 66
MD5 a4b5f9490c67aee61044efdc53229a3d files/xmms-nsf-0.0.3-gcc3.patch 19364
+MD5 8b5a150abf181904c2075418e276dc27 files/xmms-nsf-0.0.3-PIC.patch 1109
diff --git a/media-plugins/xmms-nsf/files/xmms-nsf-0.0.3-PIC.patch b/media-plugins/xmms-nsf/files/xmms-nsf-0.0.3-PIC.patch
new file mode 100644
index 000000000000..db5326f54297
--- /dev/null
+++ b/media-plugins/xmms-nsf/files/xmms-nsf-0.0.3-PIC.patch
@@ -0,0 +1,27 @@
+diff -Naur xmms-nsf-0.0.3.orig/src/nes/Makefile.am xmms-nsf-0.0.3/src/nes/Makefile.am
+--- xmms-nsf-0.0.3.orig/src/nes/Makefile.am 2000-07-19 19:17:55.000000000 -0700
++++ xmms-nsf-0.0.3/src/nes/Makefile.am 2004-07-06 18:00:50.388728466 -0700
+@@ -21,3 +21,5 @@
+
+ EXTRA_DIST = license.txt COPYING
+ INCLUDES = @XMMS_CFLAGS@
++
++CFLAGS = -fPIC -DPIC @CFLAGS@
+diff -Naur xmms-nsf-0.0.3.orig/src/nes/device/Makefile.am xmms-nsf-0.0.3/src/nes/device/Makefile.am
+--- xmms-nsf-0.0.3.orig/src/nes/device/Makefile.am 2000-07-19 18:56:01.000000000 -0700
++++ xmms-nsf-0.0.3/src/nes/device/Makefile.am 2004-07-06 18:00:38.662674686 -0700
+@@ -19,4 +19,4 @@
+ sct_init.h \
+ sct_main.h
+
+-CFLAGS = -D_REENTRANT @CFLAGS@
++CFLAGS = -fPIC -DPIC -D_REENTRANT @CFLAGS@
+diff -Naur xmms-nsf-0.0.3.orig/src/xmms/Makefile.am xmms-nsf-0.0.3/src/xmms/Makefile.am
+--- xmms-nsf-0.0.3.orig/src/xmms/Makefile.am 2001-01-06 20:08:14.000000000 -0800
++++ xmms-nsf-0.0.3/src/xmms/Makefile.am 2004-07-06 18:01:05.425232876 -0700
+@@ -22,3 +22,5 @@
+
+ LIBS = @LIBS@ @XMMS_LIBS@
+ INCLUDES = @XMMS_CFLAGS@ @GTK_CFLAGS@
++
++CFLAGS = -fPIC -DPIC @CFLAGS@
diff --git a/media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild b/media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild
index fdbd00fceced..f8acb0124673 100644
--- a/media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild
+++ b/media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild,v 1.10 2004/06/24 23:44:15 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-nsf/xmms-nsf-0.0.3.ebuild,v 1.11 2004/07/07 01:03:20 eradicator Exp $
-inherit eutils
+inherit eutils gnuconfig libtool
IUSE=""
@@ -12,7 +12,8 @@ SRC_URI="http://optronic.sourceforge.net/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86"
+#-sparc: 0.0.3: Plays, but not completely... misses notes
+KEYWORDS="x86 -sparc ~amd64"
DEPEND="media-sound/xmms
=x11-libs/gtk+-1.2*"
@@ -21,6 +22,16 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-gcc3.patch
+ epatch ${FILESDIR}/${P}-PIC.patch
+
+ gnuconfig_update
+
+ export WANT_AUTOMAKE=1.4
+ export WANT_AUTOCONF=2.5
+ aclocal || die
+ automake || die
+ autoconf || die
+ elibtoolize
}
src_install() {