diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-24 11:22:49 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-24 11:22:49 +0000 |
commit | b860b7a536e2b2b17fc9f4edce7b98db4dd2148f (patch) | |
tree | 84907572a3c15bbe0b71435b5d6cff013debcb16 /media-sound/transkode | |
parent | Version bump. (diff) | |
download | gentoo-2-b860b7a536e2b2b17fc9f4edce7b98db4dd2148f.tar.gz gentoo-2-b860b7a536e2b2b17fc9f4edce7b98db4dd2148f.tar.bz2 gentoo-2-b860b7a536e2b2b17fc9f4edce7b98db4dd2148f.zip |
Add patch to build with GCC 4.3.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'media-sound/transkode')
-rw-r--r-- | media-sound/transkode/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/transkode/files/transkode-0.6+gcc-4.3.patch | 39 | ||||
-rw-r--r-- | media-sound/transkode/transkode-0.6-r1.ebuild | 13 |
3 files changed, 53 insertions, 7 deletions
diff --git a/media-sound/transkode/ChangeLog b/media-sound/transkode/ChangeLog index e5d015b664a6..15d8ad98f818 100644 --- a/media-sound/transkode/ChangeLog +++ b/media-sound/transkode/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/transkode -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/transkode/ChangeLog,v 1.8 2007/07/21 19:07:49 philantrop Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/transkode/ChangeLog,v 1.9 2008/04/24 11:22:48 flameeyes Exp $ + + 24 Apr 2008; Diego Pettenò <flameeyes@gentoo.org> + +files/transkode-0.6+gcc-4.3.patch, transkode-0.6-r1.ebuild: + Add patch to build with GCC 4.3. *transkode-0.6-r1 (21 Jul 2007) diff --git a/media-sound/transkode/files/transkode-0.6+gcc-4.3.patch b/media-sound/transkode/files/transkode-0.6+gcc-4.3.patch new file mode 100644 index 000000000000..d6bc9a160a55 --- /dev/null +++ b/media-sound/transkode/files/transkode-0.6+gcc-4.3.patch @@ -0,0 +1,39 @@ +Index: transkode-0.6/src/common/commondefs.cpp +=================================================================== +--- transkode-0.6.orig/src/common/commondefs.cpp ++++ transkode-0.6/src/common/commondefs.cpp +@@ -33,6 +33,8 @@ + #include <unistd.h> + #endif + ++#include <cstdlib> ++ + /** + * GeneralOpt + */ +Index: transkode-0.6/src/configdialog/streamsettings.ui.h +=================================================================== +--- transkode-0.6.orig/src/configdialog/streamsettings.ui.h ++++ transkode-0.6/src/configdialog/streamsettings.ui.h +@@ -42,6 +42,8 @@ + #include <kmessagebox.h> + #include <klocale.h> + ++#include <cstdlib> ++ + void StreamSettings::cleanUpRippedStreams() + { + if ( KMessageBox::warningContinueCancel( +Index: transkode-0.6/src/plugins/qprocesswrapper.cpp +=================================================================== +--- transkode-0.6.orig/src/plugins/qprocesswrapper.cpp ++++ transkode-0.6/src/plugins/qprocesswrapper.cpp +@@ -28,6 +28,8 @@ + #include <qtimer.h> + #include <qregexp.h> + ++#include <cstdlib> ++ + QProcessWrapper::QProcessWrapper( int priority, int comm, QObject* parent, const char* name ): + QProcess( parent, name ), + m_priority( priority ), diff --git a/media-sound/transkode/transkode-0.6-r1.ebuild b/media-sound/transkode/transkode-0.6-r1.ebuild index c30ad7b69f51..fd5613929350 100644 --- a/media-sound/transkode/transkode-0.6-r1.ebuild +++ b/media-sound/transkode/transkode-0.6-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/transkode/transkode-0.6-r1.ebuild,v 1.1 2007/07/21 19:07:49 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/transkode/transkode-0.6-r1.ebuild,v 1.2 2008/04/24 11:22:48 flameeyes Exp $ ARTS_REQUIRED="never" @@ -27,12 +27,15 @@ RDEPEND="${RDEPEND} need-kde 3.5 +PATCHES=( + "${FILESDIR}/${P}-wavpack-options-fix.patch" + "${FILESDIR}/${P}-wvunpack-options-fix.patch" + "${FILESDIR}/${P}+gcc-4.3.patch" + ) + src_compile() { local myconf="$(use_enable amarok amarokscript)" - epatch "${FILESDIR}/${P}-wavpack-options-fix.patch" - epatch "${FILESDIR}/${P}-wvunpack-options-fix.patch" - kde_src_compile } |