summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2013-03-03 07:51:26 +0000
committerRyan Hill <dirtyepic@gentoo.org>2013-03-03 07:51:26 +0000
commitbfc3ccfde90c61bfa8edefd7c6ba9eba125ee1fe (patch)
tree61c060c6cd394d05ff5ef8244766f6dc2c377e98 /media-tv
parentAdd s390 keywords #457078 by Michael Palimaka. (diff)
downloadgentoo-2-bfc3ccfde90c61bfa8edefd7c6ba9eba125ee1fe.tar.gz
gentoo-2-bfc3ccfde90c61bfa8edefd7c6ba9eba125ee1fe.tar.bz2
gentoo-2-bfc3ccfde90c61bfa8edefd7c6ba9eba125ee1fe.zip
Fix build with GCC 4.7 (bug #452108).
(Portage version: 2.2.0_alpha164/cvs/Linux x86_64, signed Manifest commit with key 957A8463)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/me-tv/ChangeLog8
-rw-r--r--media-tv/me-tv/files/me-tv-1.4.0.10-gcc47.patch26
-rw-r--r--media-tv/me-tv/me-tv-1.4.0.10.ebuild5
3 files changed, 35 insertions, 4 deletions
diff --git a/media-tv/me-tv/ChangeLog b/media-tv/me-tv/ChangeLog
index 98302fe53a6d..9dd27fd3a897 100644
--- a/media-tv/me-tv/ChangeLog
+++ b/media-tv/me-tv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-tv/me-tv
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/me-tv/ChangeLog,v 1.1 2012/10/21 15:30:03 lordvan Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/me-tv/ChangeLog,v 1.2 2013/03/03 07:51:26 dirtyepic Exp $
+
+ 03 Mar 2013; Ryan Hill <dirtyepic@gentoo.org> me-tv-1.4.0.10.ebuild,
+ +files/me-tv-1.4.0.10-gcc47.patch:
+ Fix build with GCC 4.7 (bug #452108).
*me-tv-1.4.0.10 (21 Oct 2012)
diff --git a/media-tv/me-tv/files/me-tv-1.4.0.10-gcc47.patch b/media-tv/me-tv/files/me-tv-1.4.0.10-gcc47.patch
new file mode 100644
index 000000000000..c785e971997e
--- /dev/null
+++ b/media-tv/me-tv/files/me-tv-1.4.0.10-gcc47.patch
@@ -0,0 +1,26 @@
+ https://bugs.gentoo.org/452108
+
+ common/common.cc | 1 +
+ server/thread.cc | 1 +
+ 2 files changed, 2 insertions(+)
+
+--- a/common/common.cc
++++ b/common/common.cc
+@@ -18,6 +18,7 @@
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA
+ */
+
++#include <unistd.h>
+ #include "../common/common.h"
+ #include "../common/i18n.h"
+ #include "../common/exception.h"
+--- a/server/thread.cc
++++ b/server/thread.cc
+@@ -18,6 +18,7 @@
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA
+ */
+
++#include <unistd.h>
+ #include "thread.h"
+ #include "../common/i18n.h"
+ #include "../common/exception.h"
diff --git a/media-tv/me-tv/me-tv-1.4.0.10.ebuild b/media-tv/me-tv/me-tv-1.4.0.10.ebuild
index 5bd5ed080ff8..3e095bd0a03c 100644
--- a/media-tv/me-tv/me-tv-1.4.0.10.ebuild
+++ b/media-tv/me-tv/me-tv-1.4.0.10.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/me-tv/me-tv-1.4.0.10.ebuild,v 1.1 2012/10/21 15:30:03 lordvan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/me-tv/me-tv-1.4.0.10.ebuild,v 1.2 2013/03/03 07:51:26 dirtyepic Exp $
EAPI="4"
@@ -31,6 +31,7 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc47.patch
eautoreconf
}