[proaudio] media-libs/libdsp-5.0.2 patch

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


I noticed that libdsp-5.0.2 doesn't compile with gcc-4.1.1, but continues to
work if compiled with gcc-3.4.6 on a gcc-4.1.1-compiled system. Maybe we should
add the following to the libdsp-5.0.2 ebuild? (Also fixes a tiny typo on the
ebuild :) )

--- /usr/local/portage/media-libs/libdsp/libdsp-5.0.2.ebuild	2006-12-15
00:32:29.000000000 +0200
+++ /usr/local/portage/media-libs/libdsp/libdsp-5.0.2-r1.ebuild	2007-01-06
18:14:19.000000000 +0200
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $

-inherit eutils
+inherit eutils need-gcc-version

-RESTRICT=n"omirror"
+RESTRICT="nomirror"
 DESCRIPTION="C++ class library of common digital signal processing functions."
 HOMEPAGE="http://libdsp.sf.net";
 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tar.gz
@@ -21,6 +21,8 @@
 S=${WORKDIR}/${PN}-src-${PV}

 src_unpack() {
+	need_gcc "3.4"
+
 	unpack ${A}
 	cd ${S}
 	# fixes some Makefile weirdness

Libdsp seems to be more or less abandoned project, so the possibility of getting
a gcc-4.1.1-compatible version is very slim :(. I tried to compile the latest
unstable version (5.1.0), which was much more complicated than 5.0.2, but got
similar errors.

JR

-- 
| me@home ~$whoami            ^ ^  | "Trust me, I know what I'm doing!" |
| Jouni 'Mad Max' Rinne      ('x') | - Sledge Hammer                    |
| me@home ~$man woman       C " "  | -------[ph34r t3h p3Ngu1n]-------- |
| Segmentation fault (core dumped) | ::   Last.fm user ID: l33tmmx   :: |



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/