diff options
author | Peter Levine <plevine457@gmail.com> | 2017-10-14 23:52:48 -0400 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-10-22 23:47:18 +0200 |
commit | 0b360332de4c8f4ab442180cb9312262733b4cad (patch) | |
tree | df9add5ea36f0a672323887a0a16fcafaedbee98 /games-roguelike | |
parent | dev-lang/spidermonkey-17.0.0-r5: alpha stable (diff) | |
download | gentoo-0b360332de4c8f4ab442180cb9312262733b4cad.tar.gz gentoo-0b360332de4c8f4ab442180cb9312262733b4cad.tar.bz2 gentoo-0b360332de4c8f4ab442180cb9312262733b4cad.zip |
games-roguelike/powder: Fix building with GCC-6
Closes: https://bugs.gentoo.org/598928
Closes: https://github.com/gentoo/gentoo/pull/5949
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'games-roguelike')
-rw-r--r-- | games-roguelike/powder/files/powder-117-gcc6.patch | 20 | ||||
-rw-r--r-- | games-roguelike/powder/powder-117-r1.ebuild | 4 |
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 |