diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2009-06-29 00:05:00 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2009-06-29 00:05:00 +0000 |
commit | 72724c235e72e1ad9a091bf59da45f83afec3147 (patch) | |
tree | 5ced632c37ecc06ac1c98587e881709640b09861 /net-p2p/qtella | |
parent | inherit goes near the top (diff) | |
download | gentoo-2-72724c235e72e1ad9a091bf59da45f83afec3147.tar.gz gentoo-2-72724c235e72e1ad9a091bf59da45f83afec3147.tar.bz2 gentoo-2-72724c235e72e1ad9a091bf59da45f83afec3147.zip |
Add patch to fix compilation with gcc-4.3 and gcc-4.4 by Gene Seto <geneseto AT hotmail DOT com>; bug #251557
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'net-p2p/qtella')
-rw-r--r-- | net-p2p/qtella/ChangeLog | 9 | ||||
-rw-r--r-- | net-p2p/qtella/files/qtella-0.7.0-gcc44.patch | 111 | ||||
-rw-r--r-- | net-p2p/qtella/qtella-0.7.0-r1.ebuild | 5 |
3 files changed, 121 insertions, 4 deletions
diff --git a/net-p2p/qtella/ChangeLog b/net-p2p/qtella/ChangeLog index 700f9a3c18ee..63712e03eb38 100644 --- a/net-p2p/qtella/ChangeLog +++ b/net-p2p/qtella/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-p2p/qtella -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/qtella/ChangeLog,v 1.31 2008/07/27 22:12:53 carlo Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qtella/ChangeLog,v 1.32 2009/06/29 00:04:59 halcy0n Exp $ + + 28 Jun 2009; Mark Loeser <halcy0n@gentoo.org> qtella-0.7.0-r1.ebuild, + +files/qtella-0.7.0-gcc44.patch: + Add patch to fix compilation with gcc-4.3 and gcc-4.4 by Gene Seto + <geneseto AT hotmail DOT com>; bug #251557 27 Jul 2008; Carsten Lohrke <carlo@gentoo.org> qtella-0.7.0-r1.ebuild: QA: Get rid of deprecated qt_min_version().Fix KDE dependency. diff --git a/net-p2p/qtella/files/qtella-0.7.0-gcc44.patch b/net-p2p/qtella/files/qtella-0.7.0-gcc44.patch new file mode 100644 index 000000000000..a3dd3847b08b --- /dev/null +++ b/net-p2p/qtella/files/qtella-0.7.0-gcc44.patch @@ -0,0 +1,111 @@ +diff -ur qtella-0.7.0-orig/include/qtella_mini_xpm.h qtella-0.7.0/include/qtella_mini_xpm.h +--- qtella-0.7.0-orig/include/qtella_mini_xpm.h 2009-06-27 19:50:15.000000000 -0400 ++++ qtella-0.7.0/include/qtella_mini_xpm.h 2009-06-27 19:39:44.000000000 -0400 +@@ -1,5 +1,5 @@ + /* XPM */ +-static char * qtella_mini_xpm[] = { ++static const char * qtella_mini_xpm[] = { + "16 16 141 2", + " c None", + ". c #665A5A", +diff -ur qtella-0.7.0-orig/src/Address.cpp qtella-0.7.0/src/Address.cpp +--- qtella-0.7.0-orig/src/Address.cpp 2009-06-27 19:50:15.000000000 -0400 ++++ qtella-0.7.0/src/Address.cpp 2009-06-27 19:39:44.000000000 -0400 +@@ -7,6 +7,7 @@ + + #include <iostream> + #include <sstream> ++#include <cstdlib> + #if !defined(_WIN32) + #include <netdb.h> + #endif +diff -ur qtella-0.7.0-orig/src/AudioGenre.cpp qtella-0.7.0/src/AudioGenre.cpp +--- qtella-0.7.0-orig/src/AudioGenre.cpp 2009-06-27 19:50:15.000000000 -0400 ++++ qtella-0.7.0/src/AudioGenre.cpp 2009-06-27 19:39:44.000000000 -0400 +@@ -2,7 +2,7 @@ + */ + #include "AudioGenre.h" + +-#include <string> ++#include <cstring> + + struct genre_list_type + { +diff -ur qtella-0.7.0-orig/src/BitTorrent.cpp qtella-0.7.0/src/BitTorrent.cpp +--- qtella-0.7.0-orig/src/BitTorrent.cpp 2009-06-27 19:50:15.000000000 -0400 ++++ qtella-0.7.0/src/BitTorrent.cpp 2009-06-27 19:50:47.000000000 -0400 +@@ -1,4 +1,6 @@ + #include "BitTorrent.h" ++#include <cstdlib> ++#include <cstring> + #include <cstdio> + + #undef DEBUG +diff -ur qtella-0.7.0-orig/src/Download.cpp qtella-0.7.0/src/Download.cpp +--- qtella-0.7.0-orig/src/Download.cpp 2009-06-27 19:50:15.000000000 -0400 ++++ qtella-0.7.0/src/Download.cpp 2009-06-27 19:39:44.000000000 -0400 +@@ -31,6 +31,7 @@ + #include <iomanip> + #include <sstream> + #include <ctime> ++#include <cstdlib> + + Download::Download(const QueryHitEntry& qhe, + DownloadManager* parent, +diff -ur qtella-0.7.0-orig/src/InConnection.cpp qtella-0.7.0/src/InConnection.cpp +--- qtella-0.7.0-orig/src/InConnection.cpp 2009-06-27 19:50:15.000000000 -0400 ++++ qtella-0.7.0/src/InConnection.cpp 2009-06-27 19:39:44.000000000 -0400 +@@ -19,6 +19,7 @@ + #include <qmessagebox.h> + #include <iostream> + #include <sstream> ++#include <cstdlib> + + #undef _DEBUG + +diff -ur qtella-0.7.0-orig/src/MessengerThread.cpp qtella-0.7.0/src/MessengerThread.cpp +--- qtella-0.7.0-orig/src/MessengerThread.cpp 2009-06-27 19:50:15.000000000 -0400 ++++ qtella-0.7.0/src/MessengerThread.cpp 2009-06-27 19:39:44.000000000 -0400 +@@ -1,6 +1,7 @@ + #include "MessengerThread.h" + #include "MessengerContacts.h" + #include <iostream> ++#include <cstdlib> + #include <netdb.h> + #include <sys/time.h> + #include <sys/types.h> +diff -ur qtella-0.7.0-orig/src/QtellaSubConfig.cpp qtella-0.7.0/src/QtellaSubConfig.cpp +--- qtella-0.7.0-orig/src/QtellaSubConfig.cpp 2009-06-27 19:50:15.000000000 -0400 ++++ qtella-0.7.0/src/QtellaSubConfig.cpp 2009-06-27 19:39:44.000000000 -0400 +@@ -14,7 +14,7 @@ + #include "MessengerContacts.h" + #include "kmdcodec.h" + +-#include <string> ++#include <cstdlib> + #include <fstream> + #include <sstream> + #include <iostream> +diff -ur qtella-0.7.0-orig/src/QtellaSubMisc.cpp qtella-0.7.0/src/QtellaSubMisc.cpp +--- qtella-0.7.0-orig/src/QtellaSubMisc.cpp 2009-06-27 19:50:15.000000000 -0400 ++++ qtella-0.7.0/src/QtellaSubMisc.cpp 2009-06-27 19:39:44.000000000 -0400 +@@ -3,6 +3,8 @@ + #include <qdatetime.h> + #include <qfile.h> + #include <qsocket.h> ++#include <cstdlib> ++ + /*! + * This is not a backdoor! I just want to see whether it could + * be of interest to have a statistic about the number of +diff -ur qtella-0.7.0-orig/src/RiffFile.cpp qtella-0.7.0/src/RiffFile.cpp +--- qtella-0.7.0-orig/src/RiffFile.cpp 2009-06-27 19:50:15.000000000 -0400 ++++ qtella-0.7.0/src/RiffFile.cpp 2009-06-27 19:39:44.000000000 -0400 +@@ -1,6 +1,7 @@ + #include "RiffFile.h" + + #include <fstream> ++#include <cstring> + + #if !defined(_WIN32) + using namespace std; diff --git a/net-p2p/qtella/qtella-0.7.0-r1.ebuild b/net-p2p/qtella/qtella-0.7.0-r1.ebuild index b9b2d5e692e8..7e373a103cd4 100644 --- a/net-p2p/qtella/qtella-0.7.0-r1.ebuild +++ b/net-p2p/qtella/qtella-0.7.0-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/qtella/qtella-0.7.0-r1.ebuild,v 1.9 2008/07/27 22:12:53 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qtella/qtella-0.7.0-r1.ebuild,v 1.10 2009/06/29 00:04:59 halcy0n Exp $ EAPI=1 @@ -27,6 +27,7 @@ src_unpack() { fi epatch "${FILESDIR}"/${P}-errno.patch epatch "${FILESDIR}"/${P}-gcc41.patch + epatch "${FILESDIR}"/${P}-gcc44.patch epatch "${DISTDIR}"/${P}-libyahoo.patch.gz } |