summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2017-07-31 20:20:27 -0400
committerDavid Seifert <soap@gentoo.org>2017-08-13 13:09:14 +0200
commitac45361a557b7bc4a540754e6582854712385df5 (patch)
tree47e4e20b460dd8be97f80be77f7c5ebc31d2b37b /dev-cpp/gmock/gmock-1.7.0-r1.ebuild
parentgames-arcade/insaneodyssey: Fix building with GCC-6 (diff)
downloadgentoo-ac45361a557b7bc4a540754e6582854712385df5.tar.gz
gentoo-ac45361a557b7bc4a540754e6582854712385df5.tar.bz2
gentoo-ac45361a557b7bc4a540754e6582854712385df5.zip
dev-cpp/gmock: Fix test failure with GCC-6
Bug: https://bugs.gentoo.org/show_bug.cgi?id=602158 Package-Manager: Portage-2.3.6, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/5262
Diffstat (limited to 'dev-cpp/gmock/gmock-1.7.0-r1.ebuild')
-rw-r--r--dev-cpp/gmock/gmock-1.7.0-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-cpp/gmock/gmock-1.7.0-r1.ebuild b/dev-cpp/gmock/gmock-1.7.0-r1.ebuild
index 2bc06efec1ef..42e424f63b84 100644
--- a/dev-cpp/gmock/gmock-1.7.0-r1.ebuild
+++ b/dev-cpp/gmock/gmock-1.7.0-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
PYTHON_COMPAT=( python2_7 )
-inherit libtool multilib-minimal python-any-r1
+inherit epatch libtool multilib-minimal python-any-r1
DESCRIPTION="Google's C++ mocking framework"
HOMEPAGE="https://github.com/google/googlemock"
@@ -34,6 +34,8 @@ src_unpack() {
}
src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc6.patch
+
sed -i -r \
-e '/^install-(data|exec)-local:/s|^.*$|&\ndisabled-&|' \
Makefile.in