diff options
author | Peter-Levine <plevine457@gmail.com> | 2017-03-24 12:52:45 -0400 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-03-25 13:47:30 +0100 |
commit | fab43f983be105df1d882e762a8d835529601276 (patch) | |
tree | aa6167caf180680407d408b08979a226b1a6c760 /games-puzzle/brainparty | |
parent | gnome-extra/nm-applet: fix CVE-2017-6590, nma bindings and more (diff) | |
download | gentoo-fab43f983be105df1d882e762a8d835529601276.tar.gz gentoo-fab43f983be105df1d882e762a8d835529601276.tar.bz2 gentoo-fab43f983be105df1d882e762a8d835529601276.zip |
games-puzzle/brainparty: Fix GCC-6 build
Bug: https://bugs.gentoo.org/show_bug.cgi?id=612654
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4220
Diffstat (limited to 'games-puzzle/brainparty')
-rw-r--r-- | games-puzzle/brainparty/brainparty-0.61.ebuild | 5 | ||||
-rw-r--r-- | games-puzzle/brainparty/files/brainparty-0.61-gnu_cxx-hash.patch | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/games-puzzle/brainparty/brainparty-0.61.ebuild b/games-puzzle/brainparty/brainparty-0.61.ebuild index 3271d1a09dcc..9cc441ad80e8 100644 --- a/games-puzzle/brainparty/brainparty-0.61.ebuild +++ b/games-puzzle/brainparty/brainparty-0.61.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 @@ -34,7 +34,8 @@ src_prepare() { main.cpp || die epatch \ "${FILESDIR}"/${P}-savegame.patch \ - "${FILESDIR}"/${P}-gcc49.patch + "${FILESDIR}"/${P}-gcc49.patch \ + "${FILESDIR}"/${P}-gnu_cxx-hash.patch } diff --git a/games-puzzle/brainparty/files/brainparty-0.61-gnu_cxx-hash.patch b/games-puzzle/brainparty/files/brainparty-0.61-gnu_cxx-hash.patch new file mode 100644 index 000000000000..8d933462673b --- /dev/null +++ b/games-puzzle/brainparty/files/brainparty-0.61-gnu_cxx-hash.patch @@ -0,0 +1,11 @@ +--- a/WordList.h ++++ b/WordList.h +@@ -35,7 +35,7 @@ + }; + } + +-typedef hash_set<string, hash<string> > string_hash_set; ++typedef hash_set<string, __gnu_cxx::hash<string> > string_hash_set; + + class WordList { + private: |