summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2016-09-21 08:50:54 +0200
committerSlawomir Lis <slis@gentoo.org>2016-09-21 13:56:57 +0200
commitee4a29effa2dc4c4d279dcfa57d4d8ff6574f6f0 (patch)
tree2dc85abc079fe419150dd5b7234e63a81ec94723 /sci-misc/repsnapper/repsnapper-9999.ebuild
parentapp-shells/bash-4.3_p46-r1: add alpha keyword (diff)
downloadgentoo-ee4a29effa2dc4c4d279dcfa57d4d8ff6574f6f0.tar.gz
gentoo-ee4a29effa2dc4c4d279dcfa57d4d8ff6574f6f0.tar.bz2
gentoo-ee4a29effa2dc4c4d279dcfa57d4d8ff6574f6f0.zip
sci-misc/repsnapper: Added patch to fix compilation error with newer gcc
This bug is issued in newer gcc's because of abs() method is moved into std namespace. Added a patch to fix the issue. Reported in bug 594474 Reported-By: Toralf Förster <toralf.foerster@gmx.de> Package-Manager: portage-2.3.0
Diffstat (limited to 'sci-misc/repsnapper/repsnapper-9999.ebuild')
-rw-r--r--sci-misc/repsnapper/repsnapper-9999.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sci-misc/repsnapper/repsnapper-9999.ebuild b/sci-misc/repsnapper/repsnapper-9999.ebuild
index c56bddddca0..34e7a93b74b 100644
--- a/sci-misc/repsnapper/repsnapper-9999.ebuild
+++ b/sci-misc/repsnapper/repsnapper-9999.ebuild
@@ -25,5 +25,8 @@ DEPEND="
RDEPEND=${DEPEND}
src_prepare() {
+ epatch "${FILESDIR}/std-c11.patch"
+ epatch "${FILESDIR}/std_abs.patch"
eautoreconf
+ append-cxxflags -std=c++11
}