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 unified 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,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.64 2013/01/26 21:36:50 adam Exp $ 1# $NetBSD: Makefile,v 1.65 2013/02/02 16:59:34 jmcneill Exp $
2 2
3.include "Makefile.common" 3.include "Makefile.common"
4 4
5PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/} 5PKGNAME= ${DISTNAME:S/webkitgtk/webkit-gtk/}
6PKGREVISION= 2 6PKGREVISION= 3
7 7
8COMMENT= GTK2 port of the WebKit browser engine 8COMMENT= GTK2 port of the WebKit browser engine
9 9
10CONFIGURE_ARGS+= --with-gtk=2.0 10CONFIGURE_ARGS+= --with-gtk=2.0
11CONFIGURE_ARGS+= --disable-webkit2 11CONFIGURE_ARGS+= --disable-webkit2
12 12
13.include "../../x11/gtk2/buildlink3.mk" 13.include "../../x11/gtk2/buildlink3.mk"
14.include "../../mk/bsd.pkg.mk" 14.include "../../mk/bsd.pkg.mk"

cvs diff -r1.58 -r1.59 pkgsrc/www/webkit-gtk/distinfo (expand / switch to unified 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,16 +1,17 @@ @@ -1,16 +1,17 @@
1$NetBSD: distinfo,v 1.58 2012/11/22 18:20:48 marino Exp $ 1$NetBSD: distinfo,v 1.59 2013/02/02 16:59:34 jmcneill Exp $
2 2
3SHA1 (webkitgtk-1.10.1.tar.xz) = 3a2df2eb42ffdd7f3b39873d5461c347a6330493 3SHA1 (webkitgtk-1.10.1.tar.xz) = 3a2df2eb42ffdd7f3b39873d5461c347a6330493
4RMD160 (webkitgtk-1.10.1.tar.xz) = ea246d29a1def4993d592d8464b527b2c9ed1bdc 4RMD160 (webkitgtk-1.10.1.tar.xz) = ea246d29a1def4993d592d8464b527b2c9ed1bdc
5Size (webkitgtk-1.10.1.tar.xz) = 8548452 bytes 5Size (webkitgtk-1.10.1.tar.xz) = 8548452 bytes
6SHA1 (patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp) = c5e1efdac5f6e2a4c035b6a3ce808d0e7a076703 6SHA1 (patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp) = c5e1efdac5f6e2a4c035b6a3ce808d0e7a076703
7SHA1 (patch-Source_JavaScriptCore_wtf_Threading.h) = f166335d829aba9051c1aaf1b950ec655deef372 7SHA1 (patch-Source_JavaScriptCore_wtf_Threading.h) = f166335d829aba9051c1aaf1b950ec655deef372
8SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = 462e62d9078ef90df8cdeccbb64b0d2ccde5f11e 8SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = 462e62d9078ef90df8cdeccbb64b0d2ccde5f11e
 9SHA1 (patch-Source_WebCore_bindings_js_JSInspectorFrontendHostCustom.cpp) = b331ad70a9c6a133c854b65452bad4ae3558e2e6
9SHA1 (patch-Source_WebCore_editing_Editor.h) = 43562577dd6432a86fd8ee0a1e7bb0db31f07d2d 10SHA1 (patch-Source_WebCore_editing_Editor.h) = 43562577dd6432a86fd8ee0a1e7bb0db31f07d2d
10SHA1 (patch-Source_WebCore_platform_sql_SQLiteDatabase.cpp) = 0f33b188b242166584d5725060c5c430a819be61 11SHA1 (patch-Source_WebCore_platform_sql_SQLiteDatabase.cpp) = 0f33b188b242166584d5725060c5c430a819be61
11SHA1 (patch-ai) = 8df303ffde5c4398e56601c524e9ab4aff52096c 12SHA1 (patch-ai) = 8df303ffde5c4398e56601c524e9ab4aff52096c
12SHA1 (patch-aj) = 930d1b5d73028b2f2e5abb33c15f72befadc64ce 13SHA1 (patch-aj) = 930d1b5d73028b2f2e5abb33c15f72befadc64ce
13SHA1 (patch-ak) = 64ad843164f1c12968e933080e0966a9019abfdf 14SHA1 (patch-ak) = 64ad843164f1c12968e933080e0966a9019abfdf
14SHA1 (patch-al) = dd7201d0a5dcc0f173a156f3bb42e1417bef6b06 15SHA1 (patch-al) = dd7201d0a5dcc0f173a156f3bb42e1417bef6b06
15SHA1 (patch-am) = 9516994b630b43c7c234f61debf8d762cf7aee97 16SHA1 (patch-am) = 9516994b630b43c7c234f61debf8d762cf7aee97
16SHA1 (patch-configure) = 448caea068344fe987e566f73b3f567dad7b93ed 17SHA1 (patch-configure) = 448caea068344fe987e566f73b3f567dad7b93ed

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)