summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-08-06 22:43:37 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-08-06 22:43:37 +0000
commit7c5e5c7e693e1f5ed2f4cbbd5b86d10f95a70267 (patch)
tree87b66e2cbb1cd09dc78a01d8d47cc9476f4148ce /media-sound/qmbtagger
parentRemoved sci-mathematics/octave-3 from package.mask after extensive test (diff)
downloadgentoo-2-7c5e5c7e693e1f5ed2f4cbbd5b86d10f95a70267.tar.gz
gentoo-2-7c5e5c7e693e1f5ed2f4cbbd5b86d10f95a70267.tar.bz2
gentoo-2-7c5e5c7e693e1f5ed2f4cbbd5b86d10f95a70267.zip
fix build with gcc 4.3, by Bert Karwatzki, bug #232894
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'media-sound/qmbtagger')
-rw-r--r--media-sound/qmbtagger/ChangeLog6
-rw-r--r--media-sound/qmbtagger/files/qmbtagger-0.07-gcc-4.3.patch12
-rw-r--r--media-sound/qmbtagger/qmbtagger-0.07.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/media-sound/qmbtagger/ChangeLog b/media-sound/qmbtagger/ChangeLog
index 4d47da188ac1..c1a613fc3326 100644
--- a/media-sound/qmbtagger/ChangeLog
+++ b/media-sound/qmbtagger/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/qmbtagger
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qmbtagger/ChangeLog,v 1.21 2008/01/26 23:11:32 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmbtagger/ChangeLog,v 1.22 2008/08/06 22:43:36 aballier Exp $
+
+ 06 Aug 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/qmbtagger-0.07-gcc-4.3.patch, qmbtagger-0.07.ebuild:
+ fix build with gcc 4.3, by Bert Karwatzki, bug #232894
26 Jan 2008; Alexis Ballier <aballier@gentoo.org> qmbtagger-0.07.ebuild:
ogg is not optional and needs libogg and libvorbis, not vorbis-tools, bug
diff --git a/media-sound/qmbtagger/files/qmbtagger-0.07-gcc-4.3.patch b/media-sound/qmbtagger/files/qmbtagger-0.07-gcc-4.3.patch
new file mode 100644
index 000000000000..6c43dfa0795b
--- /dev/null
+++ b/media-sound/qmbtagger/files/qmbtagger-0.07-gcc-4.3.patch
@@ -0,0 +1,12 @@
+diff -aur src.old/qcdlookup.cpp src/qcdlookup.cpp
+--- src.old/qcdlookup.cpp 2008-07-28 00:11:16.000000000 +0200
++++ src/qcdlookup.cpp 2008-07-28 00:12:55.000000000 +0200
+@@ -42,6 +42,7 @@
+ $Id: qmbtagger-0.07-gcc-4.3.patch,v 1.1 2008/08/06 22:43:37 aballier Exp $
+
+ ----------------------------------------------------------------------------*/
++#include <cstdlib>
+ #include "qcdlookup.h"
+ #include <qapplication.h>
+ #include <qlistview.h>
+
diff --git a/media-sound/qmbtagger/qmbtagger-0.07.ebuild b/media-sound/qmbtagger/qmbtagger-0.07.ebuild
index f4a491883ce9..6c7a00d7c615 100644
--- a/media-sound/qmbtagger/qmbtagger-0.07.ebuild
+++ b/media-sound/qmbtagger/qmbtagger-0.07.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/qmbtagger/qmbtagger-0.07.ebuild,v 1.14 2008/01/26 23:11:32 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmbtagger/qmbtagger-0.07.ebuild,v 1.15 2008/08/06 22:43:36 aballier Exp $
inherit eutils kde-functions
@@ -39,6 +39,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}/${P}-errno.patch"
epatch "${FILESDIR}/${P}+flac-1.1.3.patch"
+ epatch "${FILESDIR}/${P}-gcc-4.3.patch"
rm -rf "${S}/admin"
ln -s "${WORKDIR}/admin" "${S}/admin"