app-arch/libpar2: Fix building with latest glibmm/libsigc++ (#567498)
authorPacho Ramos <pacho@gentoo.org>
Tue, 15 Dec 2015 20:29:28 +0000 (21:29 +0100)
committerPacho Ramos <pacho@gentoo.org>
Tue, 15 Dec 2015 20:36:45 +0000 (21:36 +0100)
Package-Manager: portage-2.2.26

app-arch/libpar2/libpar2-0.4.ebuild

index 18c5bed4c8d58561b5e10f1799c1770f84bb37dd..4c7a699fb800615c20a8a723921364d4294a706d 100644 (file)
@@ -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
+}