[packages/gtk-webkit4] - added fix for code variant used on x32; release 2

qboosh qboosh at pld-linux.org
Thu Apr 10 21:23:27 CEST 2025


commit ef16a98e8bb4551a5686f08bcbed0cc21b96c000
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Apr 10 21:15:04 2025 +0200

    - added fix for code variant used on x32; release 2

 gtk-webkit4-build.patch | 11 +++++++++++
 gtk-webkit4.spec        |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/gtk-webkit4.spec b/gtk-webkit4.spec
index a9ded0d..04591c7 100644
--- a/gtk-webkit4.spec
+++ b/gtk-webkit4.spec
@@ -26,7 +26,7 @@ Summary(pl.UTF-8):	Port osadzalnego komponentu WWW WebKit do GTK+ 3
 Name:		gtk-webkit4
 # NOTE: 2.48.x is stable, 2.49.x devel
 Version:	2.48.1
-Release:	1
+Release:	2
 License:	BSD-like
 Group:		X11/Libraries
 Source0:	https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
@@ -35,6 +35,7 @@ Patch0:		x32.patch
 Patch1:		%{name}-icu59.patch
 Patch2:		parallel-gir.patch
 Patch3:		%{name}-driver-version-suffix.patch
+Patch4:		%{name}-build.patch
 URL:		https://webkitgtk.org/
 BuildRequires:	/usr/bin/ld.gold
 BuildRequires:	EGL-devel
@@ -315,6 +316,7 @@ Dokumentacja API portu WebKitu do GTK 4.
 %patch -P 1 -p1
 %patch -P 2 -p1
 %patch -P 3 -p1
+%patch -P 4 -p1
 
 %build
 CXXFLAGS="%{rpmcxxflags} -DNDEBUG %{?with_lowmem:--param ggc-min-expand=20 --param ggc-min-heapsize=65536}"
diff --git a/gtk-webkit4-build.patch b/gtk-webkit4-build.patch
new file mode 100644
index 0000000..4b273fe
--- /dev/null
+++ b/gtk-webkit4-build.patch
@@ -0,0 +1,11 @@
+--- webkitgtk-2.48.1/Source/WebCore/platform/audio/DenormalDisabler.cpp.orig	2025-04-02 07:41:30.802833600 +0200
++++ webkitgtk-2.48.1/Source/WebCore/platform/audio/DenormalDisabler.cpp	2025-04-10 06:26:55.966729226 +0200
+@@ -91,7 +91,7 @@ DenormalDisabler::~DenormalDisabler()
+     }
+ }
+ #else
+-DenormalDisabler::DenormalDisabler() = default
++DenormalDisabler::DenormalDisabler() = default;
+ DenormalDisabler::~DenormalDisabler() = default;
+ #endif
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit4.git/commitdiff/ef16a98e8bb4551a5686f08bcbed0cc21b96c000



More information about the pld-cvs-commit mailing list