summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/ladspa-sdk/ChangeLog8
-rw-r--r--media-libs/ladspa-sdk/files/ladspa-sdk-1.12-gcc4.patch18
-rw-r--r--media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild5
3 files changed, 27 insertions, 4 deletions
diff --git a/media-libs/ladspa-sdk/ChangeLog b/media-libs/ladspa-sdk/ChangeLog
index 2c4b8339a760..1b123ce127ed 100644
--- a/media-libs/ladspa-sdk/ChangeLog
+++ b/media-libs/ladspa-sdk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/ladspa-sdk
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.30 2005/09/30 15:33:23 flameeyes Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ChangeLog,v 1.31 2006/01/18 00:16:09 hanno Exp $
+
+ 18 Jan 2006; Hanno Boeck <hanno@gentoo.org>
+ +files/ladspa-sdk-1.12-gcc4.patch, ladspa-sdk-1.12-r2.ebuild:
+ Fix for gcc 4.
30 Sep 2005; Diego Pettenò <flameeyes@gentoo.org>
ladspa-sdk-1.12-r2.ebuild:
diff --git a/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-gcc4.patch b/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-gcc4.patch
new file mode 100644
index 000000000000..fa21be8ef9e8
--- /dev/null
+++ b/media-libs/ladspa-sdk/files/ladspa-sdk-1.12-gcc4.patch
@@ -0,0 +1,18 @@
+--- ladspa_sdk/src/plugins/sine.cpp.orig 2002-07-06 17:23:17.000000000
+0000
++++ ladspa_sdk/src/plugins/sine.cpp 2005-11-25 11:15:11.691087784 +0000
+@@ -59,6 +59,15 @@
+
+ /*****************************************************************************/
+
++LADSPA_Handle instantiateSineOscillator(const LADSPA_Descriptor *, unsigned long SampleRate);
++void connectPortToSineOscillator(LADSPA_Handle Instance, unsigned long Port, LADSPA_Data * DataLocation);
++void activateSineOscillator(void * pvHandle);
++void runSineOscillator_FreqAudio_AmpAudio(LADSPA_Handle Instance, unsigned long SampleCount);
++void runSineOscillator_FreqAudio_AmpCtrl(LADSPA_Handle Instance, unsigned long SampleCount);
++void runSineOscillator_FreqCtrl_AmpAudio(LADSPA_Handle Instance, unsigned long SampleCount);
++void runSineOscillator_FreqCtrl_AmpCtrl(LADSPA_Handle Instance, unsigned long SampleCount);
++void cleanupSineOscillator(void *pvHandle);
++
+ class SineOscillator {
+ private:
diff --git a/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild
index ec0c195ef690..0c8388d0f8ba 100644
--- a/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild
+++ b/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild,v 1.15 2005/09/30 15:33:23 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.12-r2.ebuild,v 1.16 2006/01/18 00:16:09 hanno Exp $
inherit eutils
@@ -32,6 +32,7 @@ src_unpack() {
${S}/makefile || die "sed makefile failed (mkdirhier)"
epatch ${FILESDIR}/${P}-test.patch
use ppc-macos && epatch ${FILESDIR}/${P}-ppc-macos.patch
+ epatch ${FILESDIR}/${P}-gcc4.patch
}
src_compile() {