summaryrefslogtreecommitdiffstats
path: root/www/webkit-gtk3/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkit-gtk3/files')
-rw-r--r--www/webkit-gtk3/files/patch-JavaScriptCore-runtime_JSValue.h14
-rw-r--r--www/webkit-gtk3/files/patch-WebKit_gtk_webkit.pc.in8
-rw-r--r--www/webkit-gtk3/files/patch-Webcore_plugins_PluginDatabase.cpp10
-rw-r--r--www/webkit-gtk3/files/patch-cairo11
-rw-r--r--www/webkit-gtk3/files/patch-configure20
5 files changed, 63 insertions, 0 deletions
diff --git a/www/webkit-gtk3/files/patch-JavaScriptCore-runtime_JSValue.h b/www/webkit-gtk3/files/patch-JavaScriptCore-runtime_JSValue.h
new file mode 100644
index 000000000..9c32953b9
--- /dev/null
+++ b/www/webkit-gtk3/files/patch-JavaScriptCore-runtime_JSValue.h
@@ -0,0 +1,14 @@
+--- JavaScriptCore/runtime/JSValue.h.orig 2010-02-05 17:26:52.000000000 +0100
++++ JavaScriptCore/runtime/JSValue.h 2010-03-25 21:43:11.000000000 +0100
+@@ -491,7 +491,11 @@ namespace JSC {
+ u.asBits.tag = CellTag;
+ else
+ u.asBits.tag = EmptyValueTag;
++#if defined(__sparc64)
++ u.asBits.payload = reinterpret_cast<int64_t>(ptr);
++#else
+ u.asBits.payload = reinterpret_cast<int32_t>(ptr);
++#endif
+ #if ENABLE(JSC_ZOMBIES)
+ ASSERT(!isZombie());
+ #endif
diff --git a/www/webkit-gtk3/files/patch-WebKit_gtk_webkit.pc.in b/www/webkit-gtk3/files/patch-WebKit_gtk_webkit.pc.in
new file mode 100644
index 000000000..1d41c7c8d
--- /dev/null
+++ b/www/webkit-gtk3/files/patch-WebKit_gtk_webkit.pc.in
@@ -0,0 +1,8 @@
+--- WebKit/gtk/webkit.pc.in.orig 2009-05-13 20:55:10.000000000 +0800
++++ WebKit/gtk/webkit.pc.in 2009-05-19 15:09:51.000000000 +0800
+@@ -8,4 +8,4 @@ Description: Web content engine for GTK+
+ Version: @VERSION@
+ Requires: glib-2.0 gtk+-2.0 libsoup-2.4
+ Libs: -L${libdir} -lwebkit-1.0
+-Cflags: -I${includedir}/webkit-1.0
++Cflags: -I${includedir}/webkit-1.0 -I${includedir}/webkit-1.0/webkit
diff --git a/www/webkit-gtk3/files/patch-Webcore_plugins_PluginDatabase.cpp b/www/webkit-gtk3/files/patch-Webcore_plugins_PluginDatabase.cpp
new file mode 100644
index 000000000..2670c229d
--- /dev/null
+++ b/www/webkit-gtk3/files/patch-Webcore_plugins_PluginDatabase.cpp
@@ -0,0 +1,10 @@
+--- WebCore/plugins/PluginDatabase.cpp.orig 2008-11-02 03:12:05.000000000 +0800
++++ WebCore/plugins/PluginDatabase.cpp 2009-05-19 15:09:51.000000000 +0800
+@@ -283,6 +283,7 @@ Vector<String> PluginDatabase::defaultPl
+ userPluginPath.append(String("/.netscape/plugins"));
+ paths.append(userPluginPath);
+
++ paths.append("%%BROWSER_PLUGINS_DIR%%");
+ paths.append("/usr/lib/browser/plugins");
+ paths.append("/usr/local/lib/mozilla/plugins");
+ paths.append("/usr/lib/firefox/plugins");
diff --git a/www/webkit-gtk3/files/patch-cairo b/www/webkit-gtk3/files/patch-cairo
new file mode 100644
index 000000000..2c4293af5
--- /dev/null
+++ b/www/webkit-gtk3/files/patch-cairo
@@ -0,0 +1,11 @@
+--- WebCore/platform/graphics/BitmapImage.cpp.orig 2009-03-04 03:34:16.000000000 +0800
++++ WebCore/platform/graphics/BitmapImage.cpp 2009-05-19 15:09:51.000000000 +0800
+@@ -202,7 +202,7 @@ bool BitmapImage::isSizeAvailable()
+ NativeImagePtr BitmapImage::frameAtIndex(size_t index)
+ {
+ if (index >= frameCount())
+- return 0;
++ return NULL;
+
+ if (index >= m_frames.size() || !m_frames[index].m_frame)
+ cacheFrame(index);
diff --git a/www/webkit-gtk3/files/patch-configure b/www/webkit-gtk3/files/patch-configure
new file mode 100644
index 000000000..08c05beea
--- /dev/null
+++ b/www/webkit-gtk3/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 2009-06-15 17:23:17.000000000 +0200
++++ configure 2009-06-15 20:19:44.000000000 +0200
+@@ -21204,7 +21204,7 @@ fi
+
+ if test "$enable_jit" = "yes"; then
+ case "$host_cpu" in
+- i*86|x86_64)
++ i*86|x86_64|amd64)
+
+ cat >>confdefs.h <<\_ACEOF
+ #define ENABLE_JIT 1
+@@ -21243,7 +21243,7 @@ cat >>confdefs.h <<\_ACEOF
+ _ACEOF
+
+ ;;
+- x86_64)
++ x86_64|amd64)
+
+ cat >>confdefs.h <<\_ACEOF
+ #define WTF_USE_JIT_STUB_ARGUMENT_REGISTER 1