Files
pkgsrc-ng/devel/binutils/patches/patch-gold_system.h
Lionel Sambuc 1b18857dc6 Revert "Step 2: base tools: devel/binutils"
This reverts commit 8db85fa80e4c903faf191b08dba96cf2129ff71c.
2016-12-04 09:10:06 +01:00

14 lines
370 B
C++

$NetBSD: patch-gold_system.h,v 1.4 2016/02/03 19:56:34 jperkin Exp $
--- gold/system.h.orig 2015-11-13 08:27:42.000000000 +0000
+++ gold/system.h
@@ -118,7 +118,7 @@ struct hash<std::string>
{
size_t
operator()(std::string s) const
- { return __stl_hash_string(s.c_str()); }
+ { return __gnu_cxx::hash<const char *>()(s.c_str()); }
};
template<typename T>