pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/webkit-gtk



Module Name:    pkgsrc
Committed By:   leot
Date:           Thu Jun 16 20:42:36 UTC 2016

Modified Files:
        pkgsrc/www/webkit-gtk: Makefile distinfo
Added Files:
        pkgsrc/www/webkit-gtk/patches: patch-Source_WTF_wtf_Compiler.h

Log Message:
Relax the gcc version check to 4.7.0 (syncing it to IndexedDB related kludge).

Should fix build on platforms with gcc<4.9.0.
Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 pkgsrc/www/webkit-gtk/Makefile
cvs rdiff -u -r1.90 -r1.91 pkgsrc/www/webkit-gtk/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_Compiler.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/webkit-gtk/Makefile
diff -u pkgsrc/www/webkit-gtk/Makefile:1.113 pkgsrc/www/webkit-gtk/Makefile:1.114
--- pkgsrc/www/webkit-gtk/Makefile:1.113        Mon May 30 19:11:31 2016
+++ pkgsrc/www/webkit-gtk/Makefile      Thu Jun 16 20:42:35 2016
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.113 2016/05/30 19:11:31 leot Exp $
+# $NetBSD: Makefile,v 1.114 2016/06/16 20:42:35 leot Exp $
 
 DISTNAME=      webkitgtk-2.12.3
 PKGNAME=       ${DISTNAME:S/webkitgtk/webkit-gtk/}
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  http://www.webkitgtk.org/releases/
 EXTRACT_SUFX=  .tar.xz
@@ -23,7 +24,8 @@ USE_TOOLS+=   automake bison gmake perl:bu
 
 # GCC >= 4.7 or Clang >= 3.3
 # XXX: Kludge, upstream needs GCC 4.9.0 for IndexedDB support.
-# XXX: patches/patch-Source_cmake_OptionsGTK.cmake disables that to
+# XXX: patches/patch-Source_cmake_OptionsGTK.cmake and
+# XXX: patches/patch-Source_WTF_wtf_Compiler.h disables that to
 # XXX: avoid requiring GCC 4.9.0.
 GCC_REQD+=     4.7
 

Index: pkgsrc/www/webkit-gtk/distinfo
diff -u pkgsrc/www/webkit-gtk/distinfo:1.90 pkgsrc/www/webkit-gtk/distinfo:1.91
--- pkgsrc/www/webkit-gtk/distinfo:1.90 Mon May 30 19:11:31 2016
+++ pkgsrc/www/webkit-gtk/distinfo      Thu Jun 16 20:42:35 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.90 2016/05/30 19:11:31 leot Exp $
+$NetBSD: distinfo,v 1.91 2016/06/16 20:42:35 leot Exp $
 
 SHA1 (webkitgtk-2.12.3.tar.xz) = d6a0d598c09d2d56ba0862f8d9206e89d75317cb
 RMD160 (webkitgtk-2.12.3.tar.xz) = e8313c34f57e2dd933f9197c7dd091167e47cbe1
@@ -9,6 +9,7 @@ SHA1 (patch-Source_JavaScriptCore_assemb
 SHA1 (patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp) = f78e6150ed8901b3fe046b2ef182f50f1c7500a4
 SHA1 (patch-Source_JavaScriptCore_dfg_DFGNode.h) = 0d82552c6cc1f4885a2bcc539963c966216c977c
 SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = f1eee7f9d3012edee1915234c837cff820f97092
+SHA1 (patch-Source_WTF_wtf_Compiler.h) = f4f7771e4b421dddf9f73c7131e671d0c34b906c
 SHA1 (patch-Source_WTF_wtf_MathExtras.h) = 01195978abe07154fbc28de9efc47b3f3105fd89
 SHA1 (patch-Source_cmake_OptionsCommon.cmake) = 09a837ee65cdc79cc22220ce713e346fe8752c50
 SHA1 (patch-Source_cmake_OptionsGTK.cmake) = ac5c5b51000684abfe60894dea36cc4a60f4d263

Added files:

Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_Compiler.h
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_Compiler.h:1.3
--- /dev/null   Thu Jun 16 20:42:36 2016
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WTF_wtf_Compiler.h       Thu Jun 16 20:42:36 2016
@@ -0,0 +1,32 @@
+$NetBSD: patch-Source_WTF_wtf_Compiler.h,v 1.3 2016/06/16 20:42:36 leot Exp $
+
+Revert upstream changeset 188912, requested in:
+
+ <https://bugs.webkit.org/show_bug.cgi?id=148430>
+
+XXX: Actually in pkgsrc we are using a kludge in order to avoid a pretty new gcc
+XXX: version, that in reality is needed only for IndexedDB support (disabled in
+XXX: the pkgsrc case).
+
+--- Source/WTF/wtf/Compiler.h.orig     2016-04-11 06:18:43.000000000 +0000
++++ Source/WTF/wtf/Compiler.h
+@@ -70,15 +70,17 @@
+ #define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
+ #define GCC_VERSION_AT_LEAST(major, minor, patch) (GCC_VERSION >= (major * 10000 + minor * 100 + patch))
+ 
+-#if !GCC_VERSION_AT_LEAST(4, 9, 0)
+-#error "Please use a newer version of GCC. WebKit requires GCC 4.9.0 or newer to compile."
++#if !GCC_VERSION_AT_LEAST(4, 7, 0)
++#error "Please use a newer version of GCC. WebKit requires GCC 4.7.0 or newer to compile."
+ #endif
+ 
+ #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
+ #define WTF_COMPILER_SUPPORTS_C_STATIC_ASSERT 1
+ #endif
+ 
++#if GCC_VERSION_AT_LEAST(4, 8, 0)
+ #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
++#endif
+ 
+ #endif /* COMPILER(GCC) */
+ 



Home | Main Index | Thread Index | Old Index