summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn J. Ellis <jje@gentoo.org>2003-03-14 11:39:41 +0000
committerJohn J. Ellis <jje@gentoo.org>2003-03-14 11:39:41 +0000
commita18566fa25ea4bc8a8fd1b06a86c48c776b0c396 (patch)
tree5f9c0b17642fe181b1bf9f1d5d0a538af2b524db /media-plugins
parentmarking stable for x86 (diff)
downloadhistorical-a18566fa25ea4bc8a8fd1b06a86c48c776b0c396.tar.gz
historical-a18566fa25ea4bc8a8fd1b06a86c48c776b0c396.tar.bz2
historical-a18566fa25ea4bc8a8fd1b06a86c48c776b0c396.zip
Updated ebuild to patch makefiles. Closes #7377.
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/xmms-spc/ChangeLog8
-rw-r--r--media-plugins/xmms-spc/files/xmms-spc-0.2.1.patch21
-rw-r--r--media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild4
3 files changed, 31 insertions, 2 deletions
diff --git a/media-plugins/xmms-spc/ChangeLog b/media-plugins/xmms-spc/ChangeLog
index e41e50fb9379..10e9bb618549 100644
--- a/media-plugins/xmms-spc/ChangeLog
+++ b/media-plugins/xmms-spc/ChangeLog
@@ -1,9 +1,15 @@
# ChangeLog for media-plugins/xmms-spc
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/ChangeLog,v 1.2 2003/02/12 07:23:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/ChangeLog,v 1.3 2003/03/14 11:39:41 jje Exp $
*xmms-spc-0.2.1 (31 Oct 2002)
+ 14 Mar 2003; jje <jje@gentoo.org> xmms-spc-0.2.1.ebuild,
+ files/xmms-spc-0.2.1.patch:
+ Updated to patch makefiles. Unable to test as i don't have any of the media.
+
+ Submitted by: Adam Duck
+
31 Oct 2002; Seemant Kulleen <seemant@gentoo.org> xmms-spc-0.2.1.ebuild
ChangeLog files/digest-xmms-spc-0.2.1 :
diff --git a/media-plugins/xmms-spc/files/xmms-spc-0.2.1.patch b/media-plugins/xmms-spc/files/xmms-spc-0.2.1.patch
new file mode 100644
index 000000000000..a41979e7c70f
--- /dev/null
+++ b/media-plugins/xmms-spc/files/xmms-spc-0.2.1.patch
@@ -0,0 +1,21 @@
+--- spcplay/Makefile.in.bak 2003-03-06 10:13:09.000000000 +0100
++++ spcplay/Makefile.in 2003-03-06 10:13:33.000000000 +0100
+@@ -108,7 +108,7 @@
+ LIBS = @LIBS@
+ spcplay_OBJECTS = getopt.o getopt1.o main.o
+ spcplay_DEPENDENCIES = ../libspc/libspc.la
+-spcplay_LDFLAGS =
++spcplay_LDFLAGS = -lstdc++
+ CFLAGS = @CFLAGS@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+--- xmms-plugin/Makefile.in.bak 2003-03-06 10:17:06.000000000 +0100
++++ xmms-plugin/Makefile.in 2003-03-06 10:17:23.000000000 +0100
+@@ -93,7 +93,7 @@
+
+ lib_LTLIBRARIES = libspc.la
+ libspc_la_LDFLAGS = -module -avoid-version
+-libspc_la_LIBADD = @GTK_LIBS@ @PTHREAD_LIBS@ ../libspc/libspc.la
++libspc_la_LIBADD = @GTK_LIBS@ -lstdc++ @PTHREAD_LIBS@ ../libspc/libspc.la
+ libspc_la_SOURCES = spcxmms.c spcxmms.h interface.c interface.h support.c support.h callbacks.h gui.c
+
diff --git a/media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild b/media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild
index 010660fd06c1..ce96e09d21b2 100644
--- a/media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild
+++ b/media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2.
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild,v 1.2 2003/02/13 13:04:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-spc/xmms-spc-0.2.1.ebuild,v 1.3 2003/03/14 11:39:41 jje Exp $
MY_P=spcxmms-${PV}
S=${WORKDIR}/${MY_P}
@@ -29,6 +29,8 @@ src_unpack() {
mv soundux.cpp soundux.cpp.bak
sed -e '417a\
((((int64) hertz * FIXED_POINT) / so.playback_rate) * .980);' soundux.cpp.bak > soundux.cpp
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${P}.patch || die
}
src_install() {