summaryrefslogtreecommitdiff
path: root/games-puzzle/enigma/enigma-1.21-r2.ebuild
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2017-07-22 21:05:47 -0400
committerMichael Palimaka <kensington@gentoo.org>2017-07-23 11:25:21 +1000
commit3d36088eda7dd478b36d30344429eaa6e160ca77 (patch)
treee5ef978962304b295985ca1ef29f39cfd873fe2e /games-puzzle/enigma/enigma-1.21-r2.ebuild
parent689798d3da3b83a096283f89a397cd6fd2b6400a (diff)
downloadgentoo-3d36088eda7dd478b36d30344429eaa6e160ca77.tar.gz
gentoo-3d36088eda7dd478b36d30344429eaa6e160ca77.tar.xz
games-puzzle/enigma: Fix building with GCC-6
Bug: https://bugs.gentoo.org/show_bug.cgi?id=610778 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'games-puzzle/enigma/enigma-1.21-r2.ebuild')
-rw-r--r--games-puzzle/enigma/enigma-1.21-r2.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/games-puzzle/enigma/enigma-1.21-r2.ebuild b/games-puzzle/enigma/enigma-1.21-r2.ebuild
index 4a7f98d9af4..af0c5543f04 100644
--- a/games-puzzle/enigma/enigma-1.21-r2.ebuild
+++ b/games-puzzle/enigma/enigma-1.21-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -31,7 +31,8 @@ RDEPEND="${COMMON_DEPS}
src_prepare() {
cp /usr/share/gettext/config.rpath .
- epatch "${FILESDIR}"/${P}-build.patch
+ epatch "${FILESDIR}"/${P}-build.patch \
+ "${FILESDIR}"/${P}-gcc6.patch
sed -i \
-e "s:DOCDIR:\"/usr/share/doc/${P}/html\":" \
src/main.cc || die