[97738] trunk/dports/kde/kdelibs4
ryandesign at macports.org
ryandesign at macports.org
Thu Sep 13 11:39:57 PDT 2012
Revision: 97738
http://trac.macports.org//changeset/97738
Author: ryandesign at macports.org
Date: 2012-09-13 11:39:57 -0700 (Thu, 13 Sep 2012)
Log Message:
-----------
kdelibs4: fix build with clang (#34378)
Modified Paths:
--------------
trunk/dports/kde/kdelibs4/Portfile
Added Paths:
-----------
trunk/dports/kde/kdelibs4/files/patch-hashset-dependent-template.diff
Modified: trunk/dports/kde/kdelibs4/Portfile
===================================================================
--- trunk/dports/kde/kdelibs4/Portfile 2012-09-13 18:11:31 UTC (rev 97737)
+++ trunk/dports/kde/kdelibs4/Portfile 2012-09-13 18:39:57 UTC (rev 97738)
@@ -52,7 +52,8 @@
workaround-kdeinit4-crash.patch \
patch-cmake-modules-FindKDE4-Internal.cmake.diff \
patch-cmake-modules-FindPhonon.cmake.diff \
- patch-cmake-modules-FindQt4.cmake.diff
+ patch-cmake-modules-FindQt4.cmake.diff \
+ patch-hashset-dependent-template.diff
patch.pre_args -p1
Added: trunk/dports/kde/kdelibs4/files/patch-hashset-dependent-template.diff
===================================================================
--- trunk/dports/kde/kdelibs4/files/patch-hashset-dependent-template.diff (rev 0)
+++ trunk/dports/kde/kdelibs4/files/patch-hashset-dependent-template.diff 2012-09-13 18:39:57 UTC (rev 97738)
@@ -0,0 +1,29 @@
+--- kdelibs-4.8.3.orig/kjs/wtf/HashSet.h 2012-09-04 10:11:08.000000000 +0100
++++ kdelibs-4.8.3/kjs/wtf/HashSet.h 2012-09-06 15:41:13.000000000 +0100
+@@ -181,7 +181,7 @@
+ 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 @@
+ 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 @@
+ 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120913/2b732bec/attachment.html>
More information about the macports-changes
mailing list