summaryrefslogtreecommitdiff
path: root/www/webkit-gtk
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2013-02-02 16:59:34 +0000
committerjmcneill <jmcneill@pkgsrc.org>2013-02-02 16:59:34 +0000
commita48d15f75264f6ae2f6bfa165db9f608cde3d37a (patch)
treeb7dd4882e4dac208555387b798595ca872a7fd66 /www/webkit-gtk
parent67dde045bd9804255825baf20e77926bfd7c59df (diff)
downloadpkgsrc-a48d15f75264f6ae2f6bfa165db9f608cde3d37a.tar.gz
Return "netbsd" instead of "unknown" for WebInspector.platform() on NetBSD
Diffstat (limited to 'www/webkit-gtk')
-rw-r--r--www/webkit-gtk/Makefile4
-rw-r--r--www/webkit-gtk/distinfo3
-rw-r--r--www/webkit-gtk/patches/patch-Source_WebCore_bindings_js_JSInspectorFrontendHostCustom.cpp13
3 files changed, 17 insertions, 3 deletions
diff --git a/www/webkit-gtk/Makefile b/www/webkit-gtk/Makefile
index 72beab76285..487ced9a887 100644
--- a/www/webkit-gtk/Makefile
+++ b/www/webkit-gtk/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.64 2013/01/26 21:36:50 adam Exp $
+# $NetBSD: Makefile,v 1.65 2013/02/02 16:59:34 jmcneill Exp $
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/}
-PKGREVISION= 2
+PKGREVISION= 3
COMMENT= GTK2 port of the WebKit browser engine
diff --git a/www/webkit-gtk/distinfo b/www/webkit-gtk/distinfo
index ee038b8e1c7..02e7e707af7 100644
--- a/www/webkit-gtk/distinfo
+++ b/www/webkit-gtk/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.58 2012/11/22 18:20:48 marino Exp $
+$NetBSD: distinfo,v 1.59 2013/02/02 16:59:34 jmcneill Exp $
SHA1 (webkitgtk-1.10.1.tar.xz) = 3a2df2eb42ffdd7f3b39873d5461c347a6330493
RMD160 (webkitgtk-1.10.1.tar.xz) = ea246d29a1def4993d592d8464b527b2c9ed1bdc
@@ -6,6 +6,7 @@ Size (webkitgtk-1.10.1.tar.xz) = 8548452 bytes
SHA1 (patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp) = c5e1efdac5f6e2a4c035b6a3ce808d0e7a076703
SHA1 (patch-Source_JavaScriptCore_wtf_Threading.h) = f166335d829aba9051c1aaf1b950ec655deef372
SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = 462e62d9078ef90df8cdeccbb64b0d2ccde5f11e
+SHA1 (patch-Source_WebCore_bindings_js_JSInspectorFrontendHostCustom.cpp) = b331ad70a9c6a133c854b65452bad4ae3558e2e6
SHA1 (patch-Source_WebCore_editing_Editor.h) = 43562577dd6432a86fd8ee0a1e7bb0db31f07d2d
SHA1 (patch-Source_WebCore_platform_sql_SQLiteDatabase.cpp) = 0f33b188b242166584d5725060c5c430a819be61
SHA1 (patch-ai) = 8df303ffde5c4398e56601c524e9ab4aff52096c
diff --git a/www/webkit-gtk/patches/patch-Source_WebCore_bindings_js_JSInspectorFrontendHostCustom.cpp b/www/webkit-gtk/patches/patch-Source_WebCore_bindings_js_JSInspectorFrontendHostCustom.cpp
new file mode 100644
index 00000000000..82e0bdf26dc
--- /dev/null
+++ b/www/webkit-gtk/patches/patch-Source_WebCore_bindings_js_JSInspectorFrontendHostCustom.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-Source_WebCore_bindings_js_JSInspectorFrontendHostCustom.cpp,v 1.1 2013/02/02 16:59:35 jmcneill Exp $
+
+--- Source/WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp.orig 2012-10-16 15:22:38.000000000 +0000
++++ Source/WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp
+@@ -61,6 +61,8 @@ JSValue JSInspectorFrontendHost::platfor
+ DEFINE_STATIC_LOCAL(const String, platform, ("linux"));
+ #elif OS(FREEBSD)
+ DEFINE_STATIC_LOCAL(const String, platform, ("freebsd"));
++#elif OS(NETBSD)
++ DEFINE_STATIC_LOCAL(const String, platform, ("netbsd"));
+ #elif OS(OPENBSD)
+ DEFINE_STATIC_LOCAL(const String, platform, ("openbsd"));
+ #elif OS(SOLARIS)