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
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
main.cpp || die
epatch \
"${FILESDIR}"/${P}-savegame.patch \
- "${FILESDIR}"/${P}-gcc49.patch
+ "${FILESDIR}"/${P}-gcc49.patch \
+ "${FILESDIR}"/${P}-gnu_cxx-hash.patch
}
--- /dev/null
+--- 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: