summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-12-15 21:29:28 +0100
committerPacho Ramos <pacho@gentoo.org>2015-12-15 21:36:45 +0100
commit22a18c6931f5224bc6cd6a7c297bdfded08f6f5b (patch)
tree7a9861fa20236207c238d5439aa6582cc3729162 /app-arch
parentdev-cpp/gtkglextmm: Fix building with latest glibmm/libsigc++ (#568024) (diff)
downloadgentoo-22a18c6931f5224bc6cd6a7c297bdfded08f6f5b.tar.gz
gentoo-22a18c6931f5224bc6cd6a7c297bdfded08f6f5b.tar.bz2
gentoo-22a18c6931f5224bc6cd6a7c297bdfded08f6f5b.zip
app-arch/libpar2: Fix building with latest glibmm/libsigc++ (#567498)
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/libpar2/libpar2-0.4.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-arch/libpar2/libpar2-0.4.ebuild b/app-arch/libpar2/libpar2-0.4.ebuild
index 18c5bed4c8d5..4c7a699fb800 100644
--- a/app-arch/libpar2/libpar2-0.4.ebuild
+++ b/app-arch/libpar2/libpar2-0.4.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit autotools-utils
+inherit autotools-utils flag-o-matic
DESCRIPTION="A library for par2, extracted from par2cmdline"
HOMEPAGE="https://launchpad.net/libpar2/"
@@ -23,3 +23,8 @@ DOCS=( AUTHORS ChangeLog README )
# Needed to install all headers properly (bug #391815)
AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_prepare() {
+ autotools-utils_src_prepare
+ append-cxxflags -std=c++11 #567498
+}