summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2004-02-15 13:19:37 +0000
committerDavid Holm <dholm@gentoo.org>2004-02-15 13:19:37 +0000
commitdef54442f4688a585c663c74bd31aaae67186ba2 (patch)
treed5411906e2339f4c307942767b1ffd39df241960 /media-sound/fluidsynth
parentAdded to ~ppc (Manifest recommit) (diff)
downloadgentoo-2-def54442f4688a585c663c74bd31aaae67186ba2.tar.gz
gentoo-2-def54442f4688a585c663c74bd31aaae67186ba2.tar.bz2
gentoo-2-def54442f4688a585c663c74bd31aaae67186ba2.zip
Resolved bug #35817 thanks to Axxackall. Keyworded ~ppc.
Diffstat (limited to 'media-sound/fluidsynth')
-rw-r--r--media-sound/fluidsynth/ChangeLog7
-rw-r--r--media-sound/fluidsynth/files/1.0.3-nonx86.patch11
-rw-r--r--media-sound/fluidsynth/fluidsynth-1.0.3.ebuild11
3 files changed, 25 insertions, 4 deletions
diff --git a/media-sound/fluidsynth/ChangeLog b/media-sound/fluidsynth/ChangeLog
index ee003b38faea..9eaa4730c4ba 100644
--- a/media-sound/fluidsynth/ChangeLog
+++ b/media-sound/fluidsynth/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/fluidsynth
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/fluidsynth/ChangeLog,v 1.3 2003/12/06 23:09:42 lanius Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/fluidsynth/ChangeLog,v 1.4 2004/02/15 13:19:36 dholm Exp $
+
+ 15 Feb 2004; David Holm <dholm@gentoo.org> fluidsynth-1.0.3.ebuild:
+ Added fix for nonx86 archs submitted by Axxackall. Keyworded ~ppc.
07 Dec 2003; Heinrich Wendel <lanius@gentoo.org> fluidsynth-1.0.1.ebuild,
fluidsynth-1.0.3.ebuild:
diff --git a/media-sound/fluidsynth/files/1.0.3-nonx86.patch b/media-sound/fluidsynth/files/1.0.3-nonx86.patch
new file mode 100644
index 000000000000..e10a7381f565
--- /dev/null
+++ b/media-sound/fluidsynth/files/1.0.3-nonx86.patch
@@ -0,0 +1,11 @@
+--- fluidsynth-1.0.3.orig/src/fluid_sys.c
++++ fluidsynth-1.0.3/src/fluid_sys.c
+@@ -704,7 +704,7 @@
+ return (rdtsc() / fluid_cpu_frequency);
+ }
+
+-#if defined(DARWIN)
++#if !defined(__i386__)
+
+ double rdtsc(void)
+ {
diff --git a/media-sound/fluidsynth/fluidsynth-1.0.3.ebuild b/media-sound/fluidsynth/fluidsynth-1.0.3.ebuild
index b6c8c2f228c7..3cad72d0a4ff 100644
--- a/media-sound/fluidsynth/fluidsynth-1.0.3.ebuild
+++ b/media-sound/fluidsynth/fluidsynth-1.0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/fluidsynth/fluidsynth-1.0.3.ebuild,v 1.2 2003/12/06 23:09:42 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/fluidsynth/fluidsynth-1.0.3.ebuild,v 1.3 2004/02/15 13:19:36 dholm Exp $
inherit flag-o-matic
@@ -20,6 +20,13 @@ DEPEND="ladcca? ( media-libs/ladcca ) \
media-libs/ladspa-sdk \
alsa? ( media-libs/alsa-lib )"
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-nonx86.patch
+}
+
src_compile() {
local myconf
myconf="--enable-ladspa"