pkgsrc-WIP-changes archive

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

webkit-gtk60: minor build fixes.



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Sat Aug 29 06:39:17 2026 +0200
Changeset:	d839e4b0e7e58e4957369aa4ae09b627cc499d16

Modified Files:
	webkit-gtk60/Makefile
	webkit-gtk60/distinfo
Added Files:
	webkit-gtk60/patches/patch-Source_ThirdParty_skia_CMakeLists.txt

Log Message:
webkit-gtk60: minor build fixes.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d839e4b0e7e58e4957369aa4ae09b627cc499d16

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

diffstat:
 webkit-gtk60/Makefile                                  |  1 +
 webkit-gtk60/distinfo                                  |  1 +
 .../patch-Source_ThirdParty_skia_CMakeLists.txt        | 18 ++++++++++++++++++
 3 files changed, 20 insertions(+)

diffs:
diff --git a/webkit-gtk60/Makefile b/webkit-gtk60/Makefile
index 764a9313cd..6d5fe42e3f 100644
--- a/webkit-gtk60/Makefile
+++ b/webkit-gtk60/Makefile
@@ -80,6 +80,7 @@ CMAKE_CONFIGURE_ARGS+=		-DDEVELOPER_MODE=ON
 CMAKE_CONFIGURE_ARGS+=		-DENABLE_API_TESTS=OFF
 CMAKE_CONFIGURE_ARGS+=		-DENABLE_LAYOUT_TESTS=OFF
 CMAKE_CONFIGURE_ARGS+=		-DCLANGD_AUTO_SETUP=OFF
+CMAKE_CONFIGURE_ARGS+=		-DDEVELOPER_MODE_FATAL_WARNINGS=OFF
 
 # required for faking a better user-agent
 CMAKE_CONFIGURE_ARGS+=		-DUSER_AGENT_BRANDING="Linux ${MACHINE_ARCH}"
diff --git a/webkit-gtk60/distinfo b/webkit-gtk60/distinfo
index 3e6313f683..29d5d7701a 100644
--- a/webkit-gtk60/distinfo
+++ b/webkit-gtk60/distinfo
@@ -12,6 +12,7 @@ SHA1 (patch-Source_ThirdParty_ANGLE_src_common_SimpleMutex.h) = 6cd83b9ec476ed39
 SHA1 (patch-Source_ThirdParty_ANGLE_src_common_platform.h) = 2fda057edc3dde3356f0663ec5aa52cb61fb1229
 SHA1 (patch-Source_ThirdParty_ANGLE_src_common_system__utils__linux.cpp) = ec16428e501a85281a288dc38c1da12485a1b746
 SHA1 (patch-Source_ThirdParty_ANGLE_src_libANGLE_renderer_gl_egl_DisplayEGL.cpp) = 2cad21ee98bfbf89248a229a05e299e3dcec28b3
+SHA1 (patch-Source_ThirdParty_skia_CMakeLists.txt) = 365bf558205b283495fa7992a010861afbdcdc71
 SHA1 (patch-Source_ThirdParty_skia_src_gpu_ganesh_GrAutoLocaleSetter.h) = 6a854b85a470ad32aea3bb5f49d4622ba9df1bb6
 SHA1 (patch-Source_ThirdParty_skia_src_ports_SkMemory__malloc.cpp) = e277d988eeaacb7ec8b7f051342b77c5e8ac06a7
 SHA1 (patch-Source_WTF_wtf_InlineASM.h) = 35afdd5143f4a2df8a5554a0b0b35141a8784c6c
diff --git a/webkit-gtk60/patches/patch-Source_ThirdParty_skia_CMakeLists.txt b/webkit-gtk60/patches/patch-Source_ThirdParty_skia_CMakeLists.txt
new file mode 100644
index 0000000000..49ee5591ad
--- /dev/null
+++ b/webkit-gtk60/patches/patch-Source_ThirdParty_skia_CMakeLists.txt
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Add src/core/SkPathDump.cpp to the Skia sources list. It was missing,
+leaving SkPath::dump(SkWStream*, bool) undefined while Dump()/DumpHex()
+in src/pathops/SkPathOpsDebug.cpp reference it. NetBSD ld keeps these
+unreferenced debug helpers, so linking libwebkitgtk with --no-undefined
+fails. Should be upstreamed to WebKit.
+
+--- Source/ThirdParty/skia/CMakeLists.txt.orig
++++ Source/ThirdParty/skia/CMakeLists.txt
+@@ -189,6 +189,7 @@
+     src/core/SkPath.cpp
+     src/core/SkPathBuilder.cpp
+     src/core/SkPathData.cpp
++    src/core/SkPathDump.cpp
+     src/core/SkPathEffect.cpp
+     src/core/SkPathIter.cpp
+     src/core/SkPathMeasure.cpp


Home | Main Index | Thread Index | Old Index