diff options
author | Michael Palimaka <kensington@gentoo.org> | 2012-06-23 13:54:30 +0000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2012-06-23 13:54:30 +0000 |
commit | 6cc80b9b0426d01b431e0f14f4e91d6751aa6278 (patch) | |
tree | b7652857eab1079f0600719e6efd589fa1e6b460 /media-video/bangarang | |
parent | Version bump for beta channel release. (diff) | |
download | gentoo-2-6cc80b9b0426d01b431e0f14f4e91d6751aa6278.tar.gz gentoo-2-6cc80b9b0426d01b431e0f14f4e91d6751aa6278.tar.bz2 gentoo-2-6cc80b9b0426d01b431e0f14f4e91d6751aa6278.zip |
Add patch from upstream to fix build with GCC 4.7, wrt bug #423063.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'media-video/bangarang')
-rw-r--r-- | media-video/bangarang/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/bangarang/bangarang-2.1.ebuild | 6 | ||||
-rw-r--r-- | media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch | 45 |
3 files changed, 55 insertions, 4 deletions
diff --git a/media-video/bangarang/ChangeLog b/media-video/bangarang/ChangeLog index 209ec519161d..c19ba4cdf30d 100644 --- a/media-video/bangarang/ChangeLog +++ b/media-video/bangarang/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/bangarang -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/bangarang/ChangeLog,v 1.7 2011/12/11 13:34:40 johu Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/bangarang/ChangeLog,v 1.8 2012/06/23 13:54:30 kensington Exp $ + + 23 Jun 2012; Michael Palimaka <kensington@gentoo.org> + +files/bangarang-2.1-gcc-4.7.patch, bangarang-2.1.ebuild: + Add patch from upstream to fix build with GCC 4.7, wrt bug #423063. *bangarang-2.1 (11 Dec 2011) diff --git a/media-video/bangarang/bangarang-2.1.ebuild b/media-video/bangarang/bangarang-2.1.ebuild index 6f595bbc8244..44d74513ef8a 100644 --- a/media-video/bangarang/bangarang-2.1.ebuild +++ b/media-video/bangarang/bangarang-2.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/bangarang/bangarang-2.1.ebuild,v 1.1 2011/12/11 13:34:40 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/bangarang/bangarang-2.1.ebuild,v 1.2 2012/06/23 13:54:30 kensington Exp $ EAPI=4 @@ -32,4 +32,6 @@ DEPEND="${RDEPEND} sys-devel/gettext " +PATCHES=( "${FILESDIR}/${P}-gcc-4.7.patch" ) + S=${WORKDIR}/bangarang-bangarang diff --git a/media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch b/media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch new file mode 100644 index 000000000000..d4f650b9caf5 --- /dev/null +++ b/media-video/bangarang/files/bangarang-2.1-gcc-4.7.patch @@ -0,0 +1,45 @@ +commit b893fcdb7ddfc8c59fd29a29b7265a713c3dbab1 +Author: Alex Fiestas <afiestas@kde.org> +Date: Thu Mar 29 10:09:22 2012 +0200 + + Build fix: Add unistd.h include since sleep is defined there + +diff --git a/src/platform/infofetchers/lastfminfofetcher.cpp b/src/platform/infofetchers/lastfminfofetcher.cpp +index 0c49d69..fcc4cd3 100644 +--- a/src/platform/infofetchers/lastfminfofetcher.cpp ++++ b/src/platform/infofetchers/lastfminfofetcher.cpp +@@ -32,6 +32,8 @@ + #include <QFile> + #include <QTextEdit> + ++#include <unistd.h> ++ + LastfmInfoFetcher::LastfmInfoFetcher(QObject *parent) : + InfoFetcher(parent) + { +diff --git a/src/platform/infofetchers/tmdbinfofetcher.cpp b/src/platform/infofetchers/tmdbinfofetcher.cpp +index 7801644..3c01960 100644 +--- a/src/platform/infofetchers/tmdbinfofetcher.cpp ++++ b/src/platform/infofetchers/tmdbinfofetcher.cpp +@@ -30,6 +30,8 @@ + #include <QDomDocument> + #include <QFile> + ++#include <unistd.h> ++ + TMDBInfoFetcher::TMDBInfoFetcher(QObject *parent) : + InfoFetcher(parent) + { +diff --git a/src/platform/infofetchers/tvdbinfofetcher.cpp b/src/platform/infofetchers/tvdbinfofetcher.cpp +index ff351b0..670ed18 100644 +--- a/src/platform/infofetchers/tvdbinfofetcher.cpp ++++ b/src/platform/infofetchers/tvdbinfofetcher.cpp +@@ -30,6 +30,8 @@ + #include <QDomDocument> + #include <QFile> + ++#include <unistd.h> ++ + TVDBInfoFetcher::TVDBInfoFetcher(QObject *parent) : + InfoFetcher(parent) + { |