SECURITY update to webkitgtk4-2.24.1.

https://webkitgtk.org/security/WSA-2019-0002.html
This commit is contained in:
ajacoutot 2019-04-16 08:55:22 +00:00
parent 96ef1ca0b6
commit 038a3f379a
3 changed files with 23 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.99 2019/03/25 14:03:49 cwen Exp $
# $OpenBSD: Makefile,v 1.100 2019/04/16 08:55:22 ajacoutot Exp $
# patches/patch-Source_JavaScriptCore_javascriptcoregtk_pc_in
# patches/patch-Source_WebKit_gtk_webkit2gtk-web-extension_pc_in
@ -12,8 +12,7 @@ PORTROACH = limitw:1,even
COMMENT = GTK+ port of the WebKit rendering engine
V = 2.24.0
REVISION = 0
V = 2.24.1
DISTNAME = webkitgtk-${V}
PKGNAME = webkitgtk4-${V}
EXTRACT_SUFX = .tar.xz
@ -107,10 +106,10 @@ CONFIGURE_ARGS += -DENABLE_LLINT_C_LOOP=ON
LDFLAGS += -Wl,--no-keep-memory
.endif
# __sync_add_and_fetch_8
# __sync_add_and_fetch_8, SSE2
.if ${MACHINE_ARCH} == "i386"
CFLAGS += -march=i686
CXXFLAGS += -march=i686
CFLAGS += -march=i686 -msse2
CXXFLAGS += -march=i686 -msse2
.endif
.if ${MACHINE_ARCH} == "powerpc"

View File

@ -1,2 +1,2 @@
SHA256 (webkitgtk-2.24.0.tar.xz) = LkrRUD/kgs61qDz3CsnNQvN+txhVWk1oRP5MWakhRAc=
SIZE (webkitgtk-2.24.0.tar.xz) = 17894000
SHA256 (webkitgtk-2.24.1.tar.xz) = U8uOqtLKTKquZj1oMxuD/SfVvV9sU4jW6jxFXjOPOW0=
SIZE (webkitgtk-2.24.1.tar.xz) = 17897488

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-Source_cmake_FindSSE2_cmake,v 1.1 2019/04/16 08:55:22 ajacoutot Exp $
XXX CMAKE_COMPILER_IS_CLANG is not a thing
Index: Source/cmake/FindSSE2.cmake
--- Source/cmake/FindSSE2.cmake.orig
+++ Source/cmake/FindSSE2.cmake
@@ -49,7 +49,7 @@ macro(CHECK_FOR_SSE2)
}"
HAVE_SSE2_EXTENSIONS)
- if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG)
+ if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR (CMAKE_C_COMPILER_ID MATCHES "Clang"))
if (HAVE_SSE2_EXTENSIONS)
set(SSE2_SUPPORT_FOUND TRUE)
endif ()