[proaudio] [1515] fixup for compiling with strict gcc

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


Revision: 1515
Author:   evermind
Date:     2009-09-07 20:41:48 +0200 (Mon, 07 Sep 2009)
Log Message:
-----------
fixup for compiling with strict gcc

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/qoscc/Manifest
    trunk/overlays/proaudio/media-sound/qoscc/qoscc-0.3.1.ebuild

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/qoscc/files/qoscc-includes.patch

Modified: trunk/overlays/proaudio/media-sound/qoscc/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/qoscc/Manifest	2009-09-07 18:26:08 UTC (rev 1514)
+++ trunk/overlays/proaudio/media-sound/qoscc/Manifest	2009-09-07 18:41:48 UTC (rev 1515)
@@ -1,4 +1,5 @@
+AUX qoscc-includes.patch 2493 RMD160 bb0d24de09ecd676cbe4fa12896da18ba8a9ee24 SHA1 7fd6897ccf06c5032f2954497b1444e006c15f84 SHA256 76c1b7dbc1347875d74b808bb9d9dcbee0fc7044e9b850ea4921b056e2a71c16
 DIST qoscc-0.3.1.tar.gz 277224 RMD160 35e0f861620155e0c5e1f96e0b7f996df2b52e1f SHA1 a8d74abd11d021682becbcfea0b9e72210ee6b4e SHA256 779424fe8ad9bc034a2fafa903c86060eb326edec4d1b3122abcf79dde413ced
-EBUILD qoscc-0.3.1.ebuild 721 RMD160 67c51988d4cfe81c7bf7673eb795db2239ef13ac SHA1 9cdfbb3d1b4eba096a3fa47e6306be8ad420567b SHA256 56cb5b741526360bb70344495ff0b2acbc497f2d77c4a06b492eac5460b25ec0
+EBUILD qoscc-0.3.1.ebuild 885 RMD160 e6f50da9b9aaf01d58c76419293afce6c3442e81 SHA1 0058a3b99d18e544b4c9ee962f7feaa693212852 SHA256 621d5a0e012aa236f44e9ef980311b4d690b1e61a4f3733ffb31aac652dfc366
 MISC ChangeLog 205 RMD160 b32823e2ce3282f0ad65ec7b22e68958fc96bd26 SHA1 e988286e5924104772225f84d1292f2023b038e2 SHA256 d29c7cb02faa74069e77d49f8e44bd8d595667d3cb88a6b7712f1bc262ecf841
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Added: trunk/overlays/proaudio/media-sound/qoscc/files/qoscc-includes.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/qoscc/files/qoscc-includes.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/qoscc/files/qoscc-includes.patch	2009-09-07 18:41:48 UTC (rev 1515)
@@ -0,0 +1,79 @@
+diff -urN qoscc-0.3.1.orig/src/dbuffer.cpp qoscc-0.3.1/src/dbuffer.cpp
+--- qoscc-0.3.1.orig/src/dbuffer.cpp	2005-07-03 13:23:26.000000000 -0400
++++ qoscc-0.3.1/src/dbuffer.cpp	2009-09-05 00:10:22.000000000 -0400
+@@ -14,6 +14,8 @@
+ 
+ #include <math.h>
+ #include <fftw3.h>
++#include <stdlib.h>
++#include <string.h>
+ 
+ #ifdef QOSCC_DEBUG
+ #include <stdio.h>
+diff -urN qoscc-0.3.1.orig/src/dspjack.cpp qoscc-0.3.1/src/dspjack.cpp
+--- qoscc-0.3.1.orig/src/dspjack.cpp	2005-07-03 13:23:26.000000000 -0400
++++ qoscc-0.3.1/src/dspjack.cpp	2009-09-05 00:11:29.000000000 -0400
+@@ -15,6 +15,7 @@
+ #include <jack/jack.h>
+ #include <string.h>
+ #include <string>
++#include <stdlib.h>
+ 
+ #include "stringlist.h"
+ #include "misc.h"
+diff -urN qoscc-0.3.1.orig/src/dspmm.cpp qoscc-0.3.1/src/dspmm.cpp
+--- qoscc-0.3.1.orig/src/dspmm.cpp	2005-07-03 13:23:25.000000000 -0400
++++ qoscc-0.3.1/src/dspmm.cpp	2009-09-05 00:11:53.000000000 -0400
+@@ -20,6 +20,7 @@
+ #include <errno.h>
+ #include <math.h>
+ #include <string>
++#include <string.h>
+ 
+ #include "stringlist.h"
+ #include "misc.h"
+diff -urN qoscc-0.3.1.orig/src/dsposs.cpp qoscc-0.3.1/src/dsposs.cpp
+--- qoscc-0.3.1.orig/src/dsposs.cpp	2005-07-03 13:23:25.000000000 -0400
++++ qoscc-0.3.1/src/dsposs.cpp	2009-09-05 00:10:52.000000000 -0400
+@@ -18,6 +18,8 @@
+ #include <linux/soundcard.h>
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
++#include <string.h>
++#include <stdlib.h>
+ 
+ #include "stringlist.h"
+ #include "dbuffer.h"
+diff -urN qoscc-0.3.1.orig/src/globalClass.cpp qoscc-0.3.1/src/globalClass.cpp
+--- qoscc-0.3.1.orig/src/globalClass.cpp	2005-07-03 13:23:25.000000000 -0400
++++ qoscc-0.3.1/src/globalClass.cpp	2009-09-05 00:09:08.000000000 -0400
+@@ -17,6 +17,7 @@
+ #include <fftw3.h>
+ #include <errno.h>
+ #include <unistd.h>
++#include <stdlib.h>
+ 
+ #include "deviceClass.h"
+ #include "scopeClass.h"
+diff -urN qoscc-0.3.1.orig/src/main.cpp qoscc-0.3.1/src/main.cpp
+--- qoscc-0.3.1.orig/src/main.cpp	2005-07-03 13:23:25.000000000 -0400
++++ qoscc-0.3.1/src/main.cpp	2009-09-05 00:08:36.000000000 -0400
+@@ -22,6 +22,7 @@
+ 
+ #include <stdio.h>
+ #include <errno.h>
++#include <stdlib.h>
+ 
+ #include "qoscc.h"
+ #include "globalClass.h"
+diff -urN qoscc-0.3.1.orig/src/qoscc.cpp qoscc-0.3.1/src/qoscc.cpp
+--- qoscc-0.3.1.orig/src/qoscc.cpp	2005-07-03 13:23:25.000000000 -0400
++++ qoscc-0.3.1/src/qoscc.cpp	2009-09-05 00:09:30.000000000 -0400
+@@ -33,6 +33,7 @@
+ 
+ #include <stdio.h>
+ #include <string>
++#include <stdlib.h>
+ 
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>

Modified: trunk/overlays/proaudio/media-sound/qoscc/qoscc-0.3.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/qoscc/qoscc-0.3.1.ebuild	2009-09-07 18:26:08 UTC (rev 1514)
+++ trunk/overlays/proaudio/media-sound/qoscc/qoscc-0.3.1.ebuild	2009-09-07 18:41:48 UTC (rev 1515)
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
+inherit eutils
+
 IUSE="debug alsa jack oss"
 RESTRICT="mirror"
 
@@ -18,6 +20,12 @@
 	alsa? ( media-libs/alsa-lib )
 	jack? ( media-sound/jack-audio-connection-kit )"
 
+src_unpack() {
+	unpack ${A}
+	cd "${S}/src"
+	epatch "${FILESDIR}/${PN}-includes.patch"
+}
+
 src_compile() {
 	econf \
 	$(use_enable debug) \
@@ -29,6 +37,7 @@
 }
 
 src_install (){
-	make DESTDIR="${D}" install || die
+	addpredict /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
+	emake DESTDIR="${D}" install || die
 	dodoc README TODO
 }


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