Sat Feb 2 16:59:35 2013 UTC ()
Return "netbsd" instead of "unknown" for WebInspector.platform() on NetBSD


(jmcneill)
diff -r1.64 -r1.65 pkgsrc/www/webkit-gtk/Makefile
diff -r1.58 -r1.59 pkgsrc/www/webkit-gtk/distinfo
diff -r0 -r1.1 pkgsrc/www/webkit-gtk/patches/patch-Source_WebCore_bindings_js_JSInspectorFrontendHostCustom.cpp

cvs diff -r1.64 -r1.65 pkgsrc/www/webkit-gtk/Makefile (expand / switch to context diff)
--- pkgsrc/www/webkit-gtk/Makefile 2013/01/26 21:36:50 1.64
+++ pkgsrc/www/webkit-gtk/Makefile 2013/02/02 16:59:34 1.65
@@ -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
 

cvs diff -r1.58 -r1.59 pkgsrc/www/webkit-gtk/distinfo (expand / switch to context diff)
--- pkgsrc/www/webkit-gtk/distinfo 2012/11/22 18:20:48 1.58
+++ pkgsrc/www/webkit-gtk/distinfo 2013/02/02 16:59:34 1.59
@@ -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 @@
 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

File Added: pkgsrc/www/webkit-gtk/patches/Attic/patch-Source_WebCore_bindings_js_JSInspectorFrontendHostCustom.cpp
$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)