summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/libpar2/libpar2-0.4.ebuild')
-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
+}