diff options
Diffstat (limited to 'cad/freehdl/patches/patch-freehdl_kernel-util.hh')
-rw-r--r-- | cad/freehdl/patches/patch-freehdl_kernel-util.hh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cad/freehdl/patches/patch-freehdl_kernel-util.hh b/cad/freehdl/patches/patch-freehdl_kernel-util.hh new file mode 100644 index 00000000000..2625855de8c --- /dev/null +++ b/cad/freehdl/patches/patch-freehdl_kernel-util.hh @@ -0,0 +1,17 @@ +$NetBSD: patch-freehdl_kernel-util.hh,v 1.1 2013/04/30 22:13:57 joerg Exp $ + +--- freehdl/kernel-util.hh.orig 2013-04-30 20:24:07.000000000 +0000 ++++ freehdl/kernel-util.hh +@@ -24,10 +24,10 @@ using namespace __gnu_cxx; + // A hash function template used tp generate a hash number from + // pointer values. + template<class T> +-class pointer_hash : public hash<unsigned long> { ++class pointer_hash : public __gnu_cxx::hash<unsigned long> { + public: + size_t operator()(const T& x) const { +- return (*(hash<unsigned long> *)this)(((unsigned long)x)>>2); ++ return (*(__gnu_cxx::hash<unsigned long> *)this)(((unsigned long)x)>>2); + } + }; + |