summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-07-25 15:04:56 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-07-25 15:04:56 +0000
commit4c6183da9b7687999970a837fdd68f9a3ac3cac8 (patch)
treee935e54a05a12e5431d0fdc56375a0d5c63ed503 /media-sound/sonic-visualiser
parentRemove threads useflag and always force compilation against pthreads. (diff)
downloadhistorical-4c6183da9b7687999970a837fdd68f9a3ac3cac8.tar.gz
historical-4c6183da9b7687999970a837fdd68f9a3ac3cac8.tar.bz2
historical-4c6183da9b7687999970a837fdd68f9a3ac3cac8.zip
fix build with gcc 4.4, bug #278551
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'media-sound/sonic-visualiser')
-rw-r--r--media-sound/sonic-visualiser/ChangeLog6
-rw-r--r--media-sound/sonic-visualiser/Manifest11
-rw-r--r--media-sound/sonic-visualiser/files/sonic-visualiser-1.6-gcc44.patch28
-rw-r--r--media-sound/sonic-visualiser/sonic-visualiser-1.6.ebuild3
4 files changed, 41 insertions, 7 deletions
diff --git a/media-sound/sonic-visualiser/ChangeLog b/media-sound/sonic-visualiser/ChangeLog
index 79e8e4716f2d..901a995bd660 100644
--- a/media-sound/sonic-visualiser/ChangeLog
+++ b/media-sound/sonic-visualiser/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/sonic-visualiser
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/ChangeLog,v 1.12 2009/07/20 23:30:17 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/ChangeLog,v 1.13 2009/07/25 15:04:56 aballier Exp $
+
+ 25 Jul 2009; Alexis Ballier <aballier@gentoo.org>
+ sonic-visualiser-1.6.ebuild, +files/sonic-visualiser-1.6-gcc44.patch:
+ fix build with gcc 4.4, bug #278551
*sonic-visualiser-1.6 (20 Jul 2009)
diff --git a/media-sound/sonic-visualiser/Manifest b/media-sound/sonic-visualiser/Manifest
index 723fa4586c94..96457c616031 100644
--- a/media-sound/sonic-visualiser/Manifest
+++ b/media-sound/sonic-visualiser/Manifest
@@ -1,16 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX sonic-visualiser-1.6-gcc44.patch 892 RMD160 36183fc89c5045f12788146c879b43deadf33c5e SHA1 664f0da9db43adff51c2031d572ac5784e314afb SHA256 6aca63bf62d2dee0e6c247692b9b23e2feb70ceb6e76604307f6dd69fee0acad
DIST sonic-visualiser-1.5.tar.bz2 1348873 RMD160 e0e270014fe19c4c9cd2fa5b2837faeb385dee79 SHA1 ff13a8dac50d5b5d63911c00a875e3e4a8e60d27 SHA256 c8737b0b2ff593f3cb6deb50420bd4e25adb4622a0e7881c008a525edca0759c
DIST sonic-visualiser-1.6.tar.bz2 1351382 RMD160 ce32c9b790025db3d11c2d46fe5801c5c86dd93d SHA1 6a84ee27cd360db50dea62479713a353b708e14b SHA256 c58932712c5f334f99b18477647ee58b583b50d6a47277a5952246ab8ec278b5
EBUILD sonic-visualiser-1.5.ebuild 2407 RMD160 977b1cef83b63779a55c7335c9818ffe458375a2 SHA1 704549ecf19695fa10fea9562576d245da5a7110 SHA256 e44c2dbda9a2c4b742a2914eb95b45c8ece45b40247ce20aeaf7b676fbbf74ce
-EBUILD sonic-visualiser-1.6.ebuild 2411 RMD160 664af69ed63f95630eb31f36443917c15ff09619 SHA1 385920c5fb92971bc4c2919162857f34d5fef258 SHA256 a438c36f88105cbbe071f5adcfb52ae4641cb7d693ca0a862cfd3bcbe6107767
-MISC ChangeLog 1993 RMD160 eb35a371367b4118c6c692536f6e196f02b6f50e SHA1 9d97d421e5afee4b3aa459d0191502db08deecdf SHA256 1fc58a659534a2e3e715c672b23f0cccdf047bb6b6f99817709bbf8ae9660842
+EBUILD sonic-visualiser-1.6.ebuild 2450 RMD160 9731dd69a2185e9cb12311d89c96192a78bd1165 SHA1 b49249984aa756bbbafdfd3da599b7351b9e0edb SHA256 22a9dbad5e44f8c966a5aecfdc375aa9c42c56c73d980fdf05e803a6075492da
+MISC ChangeLog 2156 RMD160 5e4f36f756c8eb926186a62ab1cf9b5feeec81a3 SHA1 a46cdbd3afa78ee53b2bb06c18f6b6f484ffb86b SHA256 c2cfeaeb7cf883cf45cd715c10f8cb5bcc293cef5f071eb42498494c0eb8f161
MISC metadata.xml 251 RMD160 6ef519c0c383e28234a231081c2594d4e9039639 SHA1 dc30854be192995bbd477c3ba7b393fe1ab25263 SHA256 48e0a6cccf2eef677daecb7242cd93052641d8eb8b5cb445dfa19fec5eb93242
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkpk/hgACgkQvFcC4BYPU0qk5ACeOeXu/H7dlr1DXRU4JQFQCxOD
-9x8Anj1UozJdC5hqEqzPhre9reRKTZjg
-=nwH2
+iEYEARECAAYFAkprH3gACgkQvFcC4BYPU0oKIQCfQNxkRsn4IBbj/uhmQhy1mu3W
+J60AoKactCcp+Obq5qLWngeFWgVwoAxO
+=3lfR
-----END PGP SIGNATURE-----
diff --git a/media-sound/sonic-visualiser/files/sonic-visualiser-1.6-gcc44.patch b/media-sound/sonic-visualiser/files/sonic-visualiser-1.6-gcc44.patch
new file mode 100644
index 000000000000..410bb3ff5803
--- /dev/null
+++ b/media-sound/sonic-visualiser/files/sonic-visualiser-1.6-gcc44.patch
@@ -0,0 +1,28 @@
+https://bugs.gentoo.org/show_bug.cgi?id=278551
+
+Upstream status: Mailed 25 Jul 2009
+
+Index: sonic-visualiser-1.6/rdf/RDFFeatureWriter.h
+===================================================================
+--- sonic-visualiser-1.6.orig/rdf/RDFFeatureWriter.h
++++ sonic-visualiser-1.6/rdf/RDFFeatureWriter.h
+@@ -23,6 +23,7 @@
+ #include <string>
+ #include <map>
+ #include <set>
++#include <stdint.h> /* uint64_t */
+
+ #include <QString>
+
+Index: sonic-visualiser-1.6/system/System.h
+===================================================================
+--- sonic-visualiser-1.6.orig/system/System.h
++++ sonic-visualiser-1.6/system/System.h
+@@ -62,6 +62,7 @@ int gettimeofday(struct timeval *p, void
+
+ #include <sys/mman.h>
+ #include <dlfcn.h>
++#include <stdio.h> /* perror */
+
+ #define MLOCK(a,b) ::mlock((a),(b))
+ #define MUNLOCK(a,b) (::munlock((a),(b)) ? (::perror("munlock failed"), 0) : 0)
diff --git a/media-sound/sonic-visualiser/sonic-visualiser-1.6.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-1.6.ebuild
index f77c917e254c..0a3986932897 100644
--- a/media-sound/sonic-visualiser/sonic-visualiser-1.6.ebuild
+++ b/media-sound/sonic-visualiser/sonic-visualiser-1.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/sonic-visualiser-1.6.ebuild,v 1.1 2009/07/20 23:30:17 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sonic-visualiser/sonic-visualiser-1.6.ebuild,v 1.2 2009/07/25 15:04:56 aballier Exp $
EAPI=1
@@ -50,6 +50,7 @@ src_unpack() {
cd "${S}"
# remove crap
sed -i -e "s:-O3::" prf/sv.prf
+ epatch "${FILESDIR}/${P}-gcc44.patch"
}
sv_disable_opt() {