summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-05-05 19:02:24 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-05-05 19:02:24 +0000
commit93263b73c1e870ad3681f5b42846b10da6613a9f (patch)
treea701720f3cda6842085ed4b7b922bc76ee3e6c34 /media-sound/qtractor
parent- little cleanup and add the realpath patch from bug 125701 to address the sa... (diff)
downloadhistorical-93263b73c1e870ad3681f5b42846b10da6613a9f.tar.gz
historical-93263b73c1e870ad3681f5b42846b10da6613a9f.tar.bz2
historical-93263b73c1e870ad3681f5b42846b10da6613a9f.zip
Fix building with GCC 4.3 by Peter Alfredsen.
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'media-sound/qtractor')
-rw-r--r--media-sound/qtractor/ChangeLog6
-rw-r--r--media-sound/qtractor/Manifest15
-rw-r--r--media-sound/qtractor/files/qtractor-0.1.3-gcc43.patch32
-rw-r--r--media-sound/qtractor/qtractor-0.1.3.ebuild8
4 files changed, 47 insertions, 14 deletions
diff --git a/media-sound/qtractor/ChangeLog b/media-sound/qtractor/ChangeLog
index 3006eff96c0d..4c7162b37412 100644
--- a/media-sound/qtractor/ChangeLog
+++ b/media-sound/qtractor/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/qtractor
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qtractor/ChangeLog,v 1.5 2008/05/01 23:35:57 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qtractor/ChangeLog,v 1.6 2008/05/05 19:02:24 drac Exp $
+
+ 05 May 2008; Samuli Suominen <drac@gentoo.org>
+ +files/qtractor-0.1.3-gcc43.patch, qtractor-0.1.3.ebuild:
+ Fix building with GCC 4.3 by Peter Alfredsen.
*qtractor-0.1.3 (01 May 2008)
diff --git a/media-sound/qtractor/Manifest b/media-sound/qtractor/Manifest
index d02e2908ba2a..afe8a57e9a49 100644
--- a/media-sound/qtractor/Manifest
+++ b/media-sound/qtractor/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX qtractor-0.1.3-gcc43.patch 1115 RMD160 3c5165614f14db9a2ed56c679f324026e64c5e73 SHA1 e5ee2536262d54ae6692d1a4eb8e8ecfc67d1ef3 SHA256 b502fb791107a91cc231aafb006f5d86101fc85e8ce93e21a30379ceada11c94
DIST qtractor-0.1.3.tar.gz 525668 RMD160 5f262a2aa8de413419add57006dcbc8f00e3870a SHA1 a47fcc372a20bbfca01c6d75a3ebae8b43e74e13 SHA256 de1673e37f11fb9f90eba58d52fac55a29a3668fbe9395324787ecfa81162d84
-EBUILD qtractor-0.1.3.ebuild 1721 RMD160 8c309abfede5f56296d89f85caf51bb8fbf3f904 SHA1 33a967e026441eed21db3630d6d6b92df82850e6 SHA256 0ecf890c588d3345e1f9f7107d786a3ecc3d6e9829a44fa025de1a8b4b10e77c
-MISC ChangeLog 935 RMD160 95d4a01bdfc40902ca649d88a753b9d584d1db99 SHA1 1a25d45efff91aa20f3215a8b8269ff5a5c85b97 SHA256 b8773ae772d08a93ce905b237a4af4995cfb3377e1ce7d14febad0f1ede47765
+EBUILD qtractor-0.1.3.ebuild 1798 RMD160 27ff14ca0855948c927c445368b6befeedd69d7c SHA1 e6efc3d795624fd85b67dc73c6622d9b6e277b4c SHA256 998e88ad8b1a22ef8da9e7a20449c78371ec1b79c417a66806d407fc7429ed16
+MISC ChangeLog 1089 RMD160 e5a3aae56801a87f23d6bc8adcd2eb9aecedc522 SHA1 c04142ed98d0a5e008ead2ab73cd694534c5972a SHA256 70c3ee54f9e540edf6eedb178635f468846fec79f07f85341ab093165de60eb8
MISC metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 SHA1 90201ddb830142147774cc7b7b5178fbd0a9af0c SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEUEARECAAYFAkgaU+QACgkQvFcC4BYPU0oAgQCeKEm5agk5KNQKUS2Oq4H8Nr3o
-9coAmJpqaHyOQplpJUsRQOE4RpJCFDs=
-=ICuB
------END PGP SIGNATURE-----
diff --git a/media-sound/qtractor/files/qtractor-0.1.3-gcc43.patch b/media-sound/qtractor/files/qtractor-0.1.3-gcc43.patch
new file mode 100644
index 000000000000..3132fee796f4
--- /dev/null
+++ b/media-sound/qtractor/files/qtractor-0.1.3-gcc43.patch
@@ -0,0 +1,32 @@
+diff -NrU5 qtractor-0.1.3.old/src/qtractorAudioFile.cpp qtractor-0.1.3/src/qtractorAudioFile.cpp
+--- qtractor-0.1.3.old/src/qtractorAudioFile.cpp 2008-04-01 00:11:01.000000000 +0200
++++ qtractor-0.1.3/src/qtractorAudioFile.cpp 2008-05-05 08:19:48.000000000 +0200
+@@ -25,10 +25,12 @@
+ #include "qtractorAudioMadFile.h"
+
+ #include <QFileInfo>
+ #include <QRegExp>
+
++#include <cstdlib>
++
+
+ //----------------------------------------------------------------------
+ // class qtractorAudioFileFactory -- Audio file factory (singleton).
+ //
+
+diff -NrU5 qtractor-0.1.3.old/src/qtractorAudioVorbisFile.cpp qtractor-0.1.3/src/qtractorAudioVorbisFile.cpp
+--- qtractor-0.1.3.old/src/qtractorAudioVorbisFile.cpp 2008-03-15 21:52:31.000000000 +0100
++++ qtractor-0.1.3/src/qtractorAudioVorbisFile.cpp 2008-05-05 08:19:48.000000000 +0200
+@@ -24,10 +24,12 @@
+ #ifdef CONFIG_LIBVORBIS
+ // libvorbis encoder API.
+ #include <vorbis/vorbisenc.h>
+ #endif
+
++#include <cstdlib>
++
+
+ //----------------------------------------------------------------------
+ // class qtractorAudioVorbisFile -- Buffered audio file implementation.
+ //
+
diff --git a/media-sound/qtractor/qtractor-0.1.3.ebuild b/media-sound/qtractor/qtractor-0.1.3.ebuild
index fcb66eed90ea..701cf559686a 100644
--- a/media-sound/qtractor/qtractor-0.1.3.ebuild
+++ b/media-sound/qtractor/qtractor-0.1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qtractor/qtractor-0.1.3.ebuild,v 1.1 2008/05/01 23:35:57 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qtractor/qtractor-0.1.3.ebuild,v 1.2 2008/05/05 19:02:24 drac Exp $
EAPI=1
@@ -38,6 +38,12 @@ pkg_setup() {
fi
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}
+
src_compile() {
econf \
$(use_enable mad libmad) \