summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-10-28 14:34:37 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-10-28 14:34:37 +0000
commitd632eb521c46152a30891e0c647481d870867082 (patch)
tree4cddfb6b87f66fbc540bf9d1b7c04c7279553434 /media-sound
parentfixing Manifest (diff)
downloadgentoo-2-d632eb521c46152a30891e0c647481d870867082.tar.gz
gentoo-2-d632eb521c46152a30891e0c647481d870867082.tar.bz2
gentoo-2-d632eb521c46152a30891e0c647481d870867082.zip
Adding patch to compile. Closes #30480.
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/spiralmodular/ChangeLog6
-rw-r--r--media-sound/spiralmodular/Manifest5
-rw-r--r--media-sound/spiralmodular/files/spiralmodular-0.2.1-gentoo.patch22
-rw-r--r--media-sound/spiralmodular/spiralmodular-0.2.1.ebuild12
4 files changed, 39 insertions, 6 deletions
diff --git a/media-sound/spiralmodular/ChangeLog b/media-sound/spiralmodular/ChangeLog
index 98cc5f0ae91b..83c412b6d81a 100644
--- a/media-sound/spiralmodular/ChangeLog
+++ b/media-sound/spiralmodular/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/spiralmodular
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/spiralmodular/ChangeLog,v 1.1 2003/03/09 12:53:53 jje Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/spiralmodular/ChangeLog,v 1.2 2003/10/28 14:34:33 mholzer Exp $
+
+ 28 Oct 2003; Martin Holzer <mholzer@gentoo.org> spiralmodular-0.2.1.ebuild,
+ files/spiralmodular-0.2.1-gentoo.patch:
+ Adding patch to compile. Closes #30480.
*spiralmodular-0.2.1 (09 Mar 2003)
diff --git a/media-sound/spiralmodular/Manifest b/media-sound/spiralmodular/Manifest
index 767a08970a95..665017738bd3 100644
--- a/media-sound/spiralmodular/Manifest
+++ b/media-sound/spiralmodular/Manifest
@@ -1,3 +1,4 @@
-MD5 353b475bc5f1bff74b672f77ca6be429 ChangeLog 381
-MD5 8487a35a9c3ed5e6bdbf032f207bad09 spiralmodular-0.2.1.ebuild 1288
+MD5 bc000e5ad5b48879aec886af94486cc2 ChangeLog 548
+MD5 78a94a2c838dd0fa4a26b7d5d069fc45 spiralmodular-0.2.1.ebuild 1390
MD5 f4e4b9a9232b868cf049bf9ae2c36535 files/digest-spiralmodular-0.2.1 71
+MD5 88633a86b03d3e371fe880f098abee3f files/spiralmodular-0.2.1-gentoo.patch 962
diff --git a/media-sound/spiralmodular/files/spiralmodular-0.2.1-gentoo.patch b/media-sound/spiralmodular/files/spiralmodular-0.2.1-gentoo.patch
new file mode 100644
index 000000000000..fa7f22545119
--- /dev/null
+++ b/media-sound/spiralmodular/files/spiralmodular-0.2.1-gentoo.patch
@@ -0,0 +1,22 @@
+diff -ur spiralmodular-0.2.1/SpiralSound/Plugins/MatrixPlugin/MatrixPlugin.C spiralmodular-0.2.1-gentoo/SpiralSound/Plugins/MatrixPlugin/MatrixPlugin.C
+--- spiralmodular-0.2.1/SpiralSound/Plugins/MatrixPlugin/MatrixPlugin.C 2003-02-24 12:37:57.000000000 +1300
++++ spiralmodular-0.2.1-gentoo/SpiralSound/Plugins/MatrixPlugin/MatrixPlugin.C 2003-10-06 23:19:58.000000000 +1300
+@@ -379,14 +379,14 @@
+
+ bool MatrixPlugin::CanTransposeDown()
+ {
+- for (int x=0; x<MATX; x++) if (m_Matrix[m_GUICurrent].Matrix[x][0]) return False;
+- return True;
++ for (int x=0; x<MATX; x++) if (m_Matrix[m_GUICurrent].Matrix[x][0]) return false;
++ return true;
+ }
+
+ bool MatrixPlugin::CanTransposeUp()
+ {
+- for (int x=0; x<MATX; x++) if (m_Matrix[m_Current].Matrix[x][MATY-1]) return False;
+- return True;
++ for (int x=0; x<MATX; x++) if (m_Matrix[m_Current].Matrix[x][MATY-1]) return false;
++ return true;
+ }
+
+ void MatrixPlugin::StreamOut(ostream &s)
diff --git a/media-sound/spiralmodular/spiralmodular-0.2.1.ebuild b/media-sound/spiralmodular/spiralmodular-0.2.1.ebuild
index 85d1712d942b..73f56b6af982 100644
--- a/media-sound/spiralmodular/spiralmodular-0.2.1.ebuild
+++ b/media-sound/spiralmodular/spiralmodular-0.2.1.ebuild
@@ -1,10 +1,11 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/spiralmodular/spiralmodular-0.2.1.ebuild,v 1.5 2003/09/11 01:21:32 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/spiralmodular/spiralmodular-0.2.1.ebuild,v 1.6 2003/10/28 14:34:33 mholzer Exp $
DESCRIPTION="SSM is a object oriented modular softsynth/ sequencer/ sampler."
HOMEPAGE="http://www.pawfal.org/Software/SSM/"
SRC_URI="mirror://sourceforge/spiralmodular/${P}.tar.gz"
+RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
@@ -16,7 +17,13 @@ DEPEND=">=x11-libs/fltk-1.1 \
virtual/jack \
media-libs/ladspa-sdk"
-src_compile () {
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch || die
+}
+
+src_compile() {
for i in `find . -name Makefile.in`
do cat $i|sed s/CXXFLAGS=\\t@CXXFLAGS@/CXXFLAGS=\\t@CXXFLAGS@\ @FLTK_CXXFLAGS@/ |sed s/CFLAGS\\t=\\t@CFLAGS@/CFLAGS\\t=\\t@CFLAGS@\ @FLTK_CFLAGS@/ > $i.new
@@ -36,7 +43,6 @@ src_install() {
}
pkg_postinst() {
-
einfo ""
einfo "Remember to remove any old ~/.sprialmodular files"
einfo ""