summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-01-16 11:55:57 +0100
committerPacho Ramos <pacho@gentoo.org>2016-01-16 11:56:42 +0100
commit9c9c81dec0e264f29d52d9b9c14df9fc6fe5e63f (patch)
treed8b982d21aa82ff47b5cf9d3869d635e355b4691 /dev-cpp/gtkmm/gtkmm-3.18.0-r1.ebuild
parentdev-cpp/gtkmm: Drop old (diff)
downloadgentoo-9c9c81dec0e264f29d52d9b9c14df9fc6fe5e63f.tar.gz
gentoo-9c9c81dec0e264f29d52d9b9c14df9fc6fe5e63f.tar.bz2
gentoo-9c9c81dec0e264f29d52d9b9c14df9fc6fe5e63f.zip
dev-cpp/gtkmm: Fix compilation with gcc-4.7 (#567882 by Émeric Maschino)
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-cpp/gtkmm/gtkmm-3.18.0-r1.ebuild')
-rw-r--r--dev-cpp/gtkmm/gtkmm-3.18.0-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-cpp/gtkmm/gtkmm-3.18.0-r1.ebuild b/dev-cpp/gtkmm/gtkmm-3.18.0-r1.ebuild
index 14aad8734783..401ce9966c41 100644
--- a/dev-cpp/gtkmm/gtkmm-3.18.0-r1.ebuild
+++ b/dev-cpp/gtkmm/gtkmm-3.18.0-r1.ebuild
@@ -5,7 +5,7 @@
EAPI="5"
GCONF_DEBUG="no"
-inherit gnome2 multilib-minimal
+inherit eutils gnome2 multilib-minimal
DESCRIPTION="C++ interface for GTK+"
HOMEPAGE="http://www.gtkmm.org"
@@ -37,6 +37,9 @@ DEPEND="${RDEPEND}
# eautoreconf needs mm-common
src_prepare() {
+ # Fix building with gcc-4.7, fixed in next version, bug #567882
+ epatch "${FILESDIR}"/${P}-gcc47.patch
+
if ! use test; then
# don't waste time building tests
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \