summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-10-01 21:45:31 +0000
committerjperkin <jperkin@pkgsrc.org>2018-10-01 21:45:31 +0000
commit31667a2fa860fa2ff8953c6ae733b974f1f8ac20 (patch)
tree983d25a22c4acdada6f8d5d53b23b8890b5510cc
parentb67075b91f226472b215ee73e2fdc2b9581221a9 (diff)
downloadpkgsrc-31667a2fa860fa2ff8953c6ae733b974f1f8ac20.tar.gz
webkit-gtk: Avoid flock() on SunOS, not supported on older platforms.
-rw-r--r--www/webkit-gtk/distinfo3
-rw-r--r--www/webkit-gtk/patches/patch-Source_WTF_wtf_Platform.h17
2 files changed, 19 insertions, 1 deletions
diff --git a/www/webkit-gtk/distinfo b/www/webkit-gtk/distinfo
index 35d05ea37a2..b90481f74cc 100644
--- a/www/webkit-gtk/distinfo
+++ b/www/webkit-gtk/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.105 2018/08/19 19:59:12 wiz Exp $
+$NetBSD: distinfo,v 1.106 2018/10/01 21:45:31 jperkin Exp $
SHA1 (webkitgtk-2.20.5.tar.xz) = 63bff8f9b3811e8ee294c0c1af6a7e2e453f0916
RMD160 (webkitgtk-2.20.5.tar.xz) = 6a4cda986d2a4c4762b0daf0ff2007cd95b72b79
@@ -10,6 +10,7 @@ SHA1 (patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp) = f78e6150ed8
SHA1 (patch-Source_JavaScriptCore_heap_MarkedSpace.cpp) = e6a23d5ef22bddd0a9606fb0e472960e4cf5673e
SHA1 (patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp) = 2f20d6aa8f1ec4122bee9f2f95b736ee4496812f
SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = f1eee7f9d3012edee1915234c837cff820f97092
+SHA1 (patch-Source_WTF_wtf_Platform.h) = 1697dc48555a4b085fc3e35633776ba3ffa16e15
SHA1 (patch-Source_WTF_wtf_StackBounds.cpp) = 0b35ab065e4cccbb63199cd8a9add0d5106c6150
SHA1 (patch-Source_WTF_wtf_ThreadSpecific.h) = 38a85e10a72fe38d286a2ce747e090a2955b8791
SHA1 (patch-Source_WebCore_platform_FileSystem.cpp) = adef1a42c4e210f0a3dcb82807e2d2039684a0ec
diff --git a/www/webkit-gtk/patches/patch-Source_WTF_wtf_Platform.h b/www/webkit-gtk/patches/patch-Source_WTF_wtf_Platform.h
new file mode 100644
index 00000000000..287571f3281
--- /dev/null
+++ b/www/webkit-gtk/patches/patch-Source_WTF_wtf_Platform.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-Source_WTF_wtf_Platform.h,v 1.11 2018/10/01 21:45:31 jperkin Exp $
+
+Avoid flock() on SunOS, not supported on older platforms.
+
+--- Source/WTF/wtf/Platform.h.orig 2018-02-20 09:12:50.000000000 +0000
++++ Source/WTF/wtf/Platform.h
+@@ -533,8 +533,10 @@
+ #define USE_HARFBUZZ 1
+ #define USE_SOUP 1
+ #define USE_WEBP 1
++#ifndef __sun
+ #define USE_FILE_LOCK 1
+ #endif
++#endif
+
+ #if PLATFORM(GTK)
+ #define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_36