summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2004-06-29 16:18:53 +0000
committerDavid Holm <dholm@gentoo.org>2004-06-29 16:18:53 +0000
commit29f864c5fc6cec5a28c6cddcbf9ac6bf9d6390d2 (patch)
tree094083c33558915c8e851ca1f06c556d3e414c9c /media-plugins/swh-plugins
parentglibc -> libc (diff)
downloadhistorical-29f864c5fc6cec5a28c6cddcbf9ac6bf9d6390d2.tar.gz
historical-29f864c5fc6cec5a28c6cddcbf9ac6bf9d6390d2.tar.bz2
historical-29f864c5fc6cec5a28c6cddcbf9ac6bf9d6390d2.zip
Added a patch to make swh-plugins compile on ppc
Diffstat (limited to 'media-plugins/swh-plugins')
-rw-r--r--media-plugins/swh-plugins/ChangeLog6
-rw-r--r--media-plugins/swh-plugins/Manifest7
-rw-r--r--media-plugins/swh-plugins/files/swh-plugins-0.4.3-ppc.patch16
-rw-r--r--media-plugins/swh-plugins/swh-plugins-0.4.3-r1.ebuild5
4 files changed, 28 insertions, 6 deletions
diff --git a/media-plugins/swh-plugins/ChangeLog b/media-plugins/swh-plugins/ChangeLog
index 2a5da86b553c..4c9b3cc4f0c4 100644
--- a/media-plugins/swh-plugins/ChangeLog
+++ b/media-plugins/swh-plugins/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/swh-plugins
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/swh-plugins/ChangeLog,v 1.18 2004/06/24 23:35:38 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/swh-plugins/ChangeLog,v 1.19 2004/06/29 16:18:53 dholm Exp $
+
+ 29 Jun 2004; David Holm <dholm@gentoo.org>
+ +files/swh-plugins-0.4.3-ppc.patch, swh-plugins-0.4.3-r1.ebuild:
+ Added a patch to make swh-plugins compile on ppc.
*swh-plugins-0.4.3-r1 (23 Jun 2004)
diff --git a/media-plugins/swh-plugins/Manifest b/media-plugins/swh-plugins/Manifest
index 4b24de451a68..694eeae043dd 100644
--- a/media-plugins/swh-plugins/Manifest
+++ b/media-plugins/swh-plugins/Manifest
@@ -1,10 +1,11 @@
-MD5 0bacc065744648e3351f9f4d784c0931 swh-plugins-0.4.3.ebuild 1007
-MD5 b7b9db19644d9ee23598766a08a4174e swh-plugins-0.4.3-r1.ebuild 1053
+MD5 1f0697f05d1230945468b959978cf829 ChangeLog 3450
MD5 04d3bd667d0606d58f2874f5438666c3 swh-plugins-0.4.2.ebuild 1000
-MD5 ee08d60aed3102975d2fcb8c3af782d8 ChangeLog 3288
+MD5 0bacc065744648e3351f9f4d784c0931 swh-plugins-0.4.3.ebuild 1007
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 2c353639d986fba93b7bc9df5857319f swh-plugins-0.4.3-r1.ebuild 1101
MD5 a211072ae4a6f238780abf17493f29a4 files/digest-swh-plugins-0.4.2 69
MD5 32e3b0473a59b47fad48f53d2dd9e1b3 files/digest-swh-plugins-0.4.3 69
MD5 ba085fb52c6c98c80b1250bf14c3e49c files/swh-plugins-quickfixes.patch 1194
MD5 32e3b0473a59b47fad48f53d2dd9e1b3 files/digest-swh-plugins-0.4.3-r1 69
MD5 f2e2e9a24cb7656a2b80410230a8d5bc files/swh-plugins-0.4.3-compile.patch 2201
+MD5 be6ca617ab81436133132bb94d72b0b4 files/swh-plugins-0.4.3-ppc.patch 498
diff --git a/media-plugins/swh-plugins/files/swh-plugins-0.4.3-ppc.patch b/media-plugins/swh-plugins/files/swh-plugins-0.4.3-ppc.patch
new file mode 100644
index 000000000000..1b056330e454
--- /dev/null
+++ b/media-plugins/swh-plugins/files/swh-plugins-0.4.3-ppc.patch
@@ -0,0 +1,16 @@
+--- swh-plugins-0.4.3-orig/gverb/gverb-test.c.orig 2004-06-29 18:11:36.491890744 +0200
++++ swh-plugins-0.4.3/gverb/gverb-test.c 2004-06-29 18:13:19.357252832 +0200
+@@ -7,7 +7,13 @@
+
+ void run(const char *desc);
+
++#ifdef __i386__
+ #define rdtscll(val) __asm__ __volatile__("rdtsc" : "=A" (val))
++#elif __powerpc__
++#define rdtscll(val) __asm__ __volatile__("mftb %0" : "=r" (val))
++#else
++#error Implement rdtscll for your architecture
++#endif
+ #define SIZE 48000
+
+ float in[SIZE], out[2][SIZE];
diff --git a/media-plugins/swh-plugins/swh-plugins-0.4.3-r1.ebuild b/media-plugins/swh-plugins/swh-plugins-0.4.3-r1.ebuild
index 8e73a648256b..f9594b2b43c6 100644
--- a/media-plugins/swh-plugins/swh-plugins-0.4.3-r1.ebuild
+++ b/media-plugins/swh-plugins/swh-plugins-0.4.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/swh-plugins/swh-plugins-0.4.3-r1.ebuild,v 1.2 2004/06/24 23:35:38 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/swh-plugins/swh-plugins-0.4.3-r1.ebuild,v 1.3 2004/06/29 16:18:53 dholm Exp $
inherit eutils
@@ -11,7 +11,7 @@ SRC_URI="http://plugin.org.uk/releases/${PV}/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~x86 ~amd64 ~ppc"
DEPEND="media-libs/ladspa-sdk
dev-libs/fftw
@@ -20,6 +20,7 @@ DEPEND="media-libs/ladspa-sdk
src_unpack() {
unpack ${A} || die
epatch ${FILESDIR}/${P}-compile.patch
+ use ppc && epatch ${FILESDIR}/${P}-ppc.patch
cd ${S}
sed -i '/MACHINE=/s/.*/MACHINE=""/' configure