More build fixes.
authorap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Mar 2008 18:51:57 +0000 (18:51 +0000)
committerap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Mar 2008 18:51:57 +0000 (18:51 +0000)
        * jscore.bkl: Add the wtf/unicode directory.
        * wtf/unicode/CollatorDefault.cpp:
        (WTF::Collator::userDefault): Use a constructor that does exist.
        * wtf/unicode/icu/CollatorICU.cpp: Mac build fix for case-sensitive file systems.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30848 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/jscore.bkl
JavaScriptCore/wtf/unicode/CollatorDefault.cpp
JavaScriptCore/wtf/unicode/icu/CollatorICU.cpp

index c5c73062ab207b7bcd32c6c102372474fcbb56f3..091447c10803d4263b72f69991730d806d0b9f8d 100644 (file)
@@ -1,3 +1,12 @@
+2008-03-06  Alexey Proskuryakov  <ap@webkit.org>
+
+        More build fixes.
+
+        * jscore.bkl: Add the wtf/unicode directory.
+        * wtf/unicode/CollatorDefault.cpp:
+        (WTF::Collator::userDefault): Use a constructor that does exist.
+        * wtf/unicode/icu/CollatorICU.cpp: Mac build fix for case-sensitive file systems.
+
 2008-03-06  Darin Adler  <darin@apple.com>
 
         - try to fix the Qt build
index 18f754240cf98bc4d38bdc1f2be9c2e702eee676..b17ff16bf0d01e9a36655a3ecc5a38bf4b2c8264 100644 (file)
@@ -55,6 +55,7 @@ JavaScriptCore Bakefile project file.
         <include>$(SRCDIR)/kjs</include>
         <include>$(SRCDIR)/pcre</include>
         <include>$(SRCDIR)/wtf</include>
+        <include>$(SRCDIR)/wtf/unicode</include>
 
         <define>ENABLE_XSLT=1</define>
 
index e72ff2aa422762ff6ae569f62c3fd77c7d246016..eddbe534ffaa554be285d5be8f48aea3cb1f1e70 100644 (file)
@@ -47,7 +47,7 @@ void Collator::setOrderLowerFirst(bool)
 
 std::auto_ptr<Collator> Collator::userDefault()
 {
-    return std::auto_ptr<Collator>(new Collator);
+    return std::auto_ptr<Collator>(new Collator(0));
 }
 
 // A default implementation for platforms that lack Unicode-aware collation.
index b7f0570c2ebe7ac728e38f026c844379172abefb..59d9ddba9b537a816e6d4854530dc5389b94ffe3 100644 (file)
@@ -36,7 +36,7 @@
 #include <unicode/ucol.h>
 
 #if PLATFORM(DARWIN)
-#include <Corefoundation/CoreFoundation.h>
+#include <CoreFoundation/CoreFoundation.h>
 #endif
 
 namespace WTF {