summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/powder')
-rw-r--r--games-roguelike/powder/files/powder-117-gcc6.patch20
-rw-r--r--games-roguelike/powder/powder-117-r1.ebuild4
2 files changed, 23 insertions, 1 deletions
diff --git a/games-roguelike/powder/files/powder-117-gcc6.patch b/games-roguelike/powder/files/powder-117-gcc6.patch
new file mode 100644
index 000000000000..3a9b7f2af541
--- /dev/null
+++ b/games-roguelike/powder/files/powder-117-gcc6.patch
@@ -0,0 +1,20 @@
+Bug: https://bugs.gentoo.org/598928
+
+--- a/source.txt
++++ b/source.txt
+@@ -13400,13 +13400,13 @@
+
+ BRANCH MAIN
+ {
+- symbol '\\207'
++ symbol static_cast<u8>('\\207')
+ welcome "%U <return> to the main dungeon."
+ }
+
+ BRANCH TRIDUDE
+ {
+- symbol '\\211'
++ symbol static_cast<u8>('\\211')
+ welcome "%U <enter> a cave made of metal."
+ }
+
diff --git a/games-roguelike/powder/powder-117-r1.ebuild b/games-roguelike/powder/powder-117-r1.ebuild
index b0199fe9fa0d..e7c6acc40057 100644
--- a/games-roguelike/powder/powder-117-r1.ebuild
+++ b/games-roguelike/powder/powder-117-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -20,6 +20,8 @@ RDEPEND=${DEPEND}
S=${WORKDIR}/${MY_P}
+PATCHES=( "${FILESDIR}"/${PN}-117-gcc6.patch )
+
src_compile() {
append-cxxflags -DCHANGE_WORK_DIRECTORY
emake -C port/linux premake