Revision: 1626
Author:   evermind
Date:     2010-04-10 12:38:39 +0200 (Sat, 10 Apr 2010)
Log Message:
-----------
close bug #96

Modified Paths:
--------------
    trunk/overlays/proaudio/media-plugins/dssi-vst/ChangeLog
    trunk/overlays/proaudio/media-plugins/dssi-vst/dssi-vst-0.8.ebuild

Modified: trunk/overlays/proaudio/media-plugins/dssi-vst/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-plugins/dssi-vst/ChangeLog    2010-04-10 
09:44:20 UTC (rev 1625)
+++ trunk/overlays/proaudio/media-plugins/dssi-vst/ChangeLog    2010-04-10 
10:38:39 UTC (rev 1626)
@@ -1,7 +1,11 @@
 # ChangeLog for media-plugins/dssi-vst
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 Apr 2010; Frieder Buerzele <[email protected]>
+  dssi-vst-0.8.ebuild:
+  fixup gcc 4.3 cstdio includes
+
   15 Dec 2008; Thomas Kuther <[email protected]>
   -dssi-vst-0.3.1.ebuild, -dssi-vst-0.4.ebuild, -dssi-vst-0.4-r1.ebuild,
   -dssi-vst-0.4-r2.ebuild, -dssi-vst-0.5.ebuild, +dssi-vst-0.8.ebuild:

Modified: trunk/overlays/proaudio/media-plugins/dssi-vst/dssi-vst-0.8.ebuild
===================================================================
--- trunk/overlays/proaudio/media-plugins/dssi-vst/dssi-vst-0.8.ebuild  
2010-04-10 09:44:20 UTC (rev 1625)
+++ trunk/overlays/proaudio/media-plugins/dssi-vst/dssi-vst-0.8.ebuild  
2010-04-10 10:38:39 UTC (rev 1626)
@@ -1,8 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-inherit multilib
+inherit multilib exteutils toolchain-funcs
 
 DESCRIPTION="DSSI wrapper plugin for Windows VSTs"
 HOMEPAGE="http://dssi.sourceforge.net/";
@@ -25,11 +25,17 @@
 src_unpack() {
        unpack ${A}
        cd "${S}"
-       sed -i -e "s:-Ivestige -Wall -fPIC:${CXXFLAGS} -Ivestige -Wall -fPIC:" \
-               Makefile || die
+       # fixup g++/cxxflags
+       esed_check -i -e "s:-Ivestige -Wall -fPIC:${CXXFLAGS} -Ivestige -Wall 
-fPIC:" \
+               -e 's...@\([[:blank:]]\)g++\([[:blank:]]\)@\1\$(CXX)\...@g' 
Makefile
+       # fixup includes for gcc 4.3 compat
+       esed_check -i "-e/#/{;s/#/#include <cstdlib>\n#/;:a" "-en;ba" "-e}" \
+               remotepluginclient.cpp dssi-vst.cpp rdwrops.cpp 
remotevstclient.cpp \
+               remotepluginserver.cpp
 }
 
 src_compile(){
+       tc-export CXX
        emake || "die emake failed"
 }
 

Reply via email to