diff options
author | joerg <joerg@pkgsrc.org> | 2012-04-19 21:10:59 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-04-19 21:10:59 +0000 |
commit | d2f66088fcb6bbd6900db2b9aefba54b69bcd396 (patch) | |
tree | e3a0dbcac427ac18b9f14a8cee83ea1a4ab9558a /x11 | |
parent | f614ed519db0d2caa08028687ea0a21ddd07e4bb (diff) | |
download | pkgsrc-d2f66088fcb6bbd6900db2b9aefba54b69bcd396.tar.gz |
Fix C++ syntax
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdelibs4/distinfo | 3 | ||||
-rw-r--r-- | x11/kdelibs4/patches/patch-kjs_wtf_HashSet.h | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/x11/kdelibs4/distinfo b/x11/kdelibs4/distinfo index 29f8b91266b..5a5a898e0c2 100644 --- a/x11/kdelibs4/distinfo +++ b/x11/kdelibs4/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.27 2012/04/15 05:54:53 markd Exp $ +$NetBSD: distinfo,v 1.28 2012/04/19 21:10:59 joerg Exp $ SHA1 (kdelibs-4.8.2.tar.xz) = f844ae0877880563361144d9577706064c3483e7 RMD160 (kdelibs-4.8.2.tar.xz) = 9c52ef42274f4ed5fd82a749ed7cf78f482c9c67 @@ -17,3 +17,4 @@ SHA1 (patch-cmake_modules_FindTaglib.cmake) = be38479966da542343dd962c57f7e9d1be SHA1 (patch-kdecore_localization_klocale_kde.cpp) = b8a513a0c51e65d7e604a88c1d0e3325be6ad688 SHA1 (patch-kdecore_util_kshareddatacache_p.h) = 6d064fe75fbecd489b0343960333864c717c0805 SHA1 (patch-kjs_JSImmediate.h) = ecc761c7c82f711f41cf47d706c1c22d22c2980a +SHA1 (patch-kjs_wtf_HashSet.h) = 5ffa5db540a72c95e94c4c16cc0fe521d1f2516a diff --git a/x11/kdelibs4/patches/patch-kjs_wtf_HashSet.h b/x11/kdelibs4/patches/patch-kjs_wtf_HashSet.h new file mode 100644 index 00000000000..9d40ce57c6c --- /dev/null +++ b/x11/kdelibs4/patches/patch-kjs_wtf_HashSet.h @@ -0,0 +1,31 @@ +$NetBSD: patch-kjs_wtf_HashSet.h,v 1.1 2012/04/19 21:10:59 joerg Exp $ + +--- kjs/wtf/HashSet.h.orig 2012-04-19 16:21:41.000000000 +0000 ++++ kjs/wtf/HashSet.h +@@ -181,7 +181,7 @@ namespace WTF { + inline HashSet<Value, HashFunctions, Traits>::find(const T& value) + { + typedef HashSetTranslatorAdapter<ValueType, ValueTraits, T, Translator> Adapter; +- return m_impl.find<T, Adapter>(value); ++ return m_impl.template find<T, Adapter>(value); + } + + template<typename Value, typename HashFunctions, typename Traits> +@@ -190,7 +190,7 @@ namespace WTF { + inline HashSet<Value, HashFunctions, Traits>::find(const T& value) const + { + typedef HashSetTranslatorAdapter<ValueType, ValueTraits, T, Translator> Adapter; +- return m_impl.find<T, Adapter>(value); ++ return m_impl.template find<T, Adapter>(value); + } + + template<typename Value, typename HashFunctions, typename Traits> +@@ -198,7 +198,7 @@ namespace WTF { + inline bool HashSet<Value, HashFunctions, Traits>::contains(const T& value) const + { + typedef HashSetTranslatorAdapter<ValueType, ValueTraits, T, Translator> Adapter; +- return m_impl.contains<T, Adapter>(value); ++ return m_impl.template contains<T, Adapter>(value); + } + + template<typename T, typename U, typename V> |