[packages/gtk-webkit3] - this code relies on this==nullptr UB, disable -fdelete-null-pointer-checks optimization; release 1

qboosh qboosh at pld-linux.org
Mon Feb 27 06:29:12 CET 2023


commit d80a6c56d936675993b3815c428485f8cd1e698d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Feb 27 06:30:44 2023 +0100

    - this code relies on this==nullptr UB, disable -fdelete-null-pointer-checks optimization; release 14

 gtk-webkit3.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gtk-webkit3.spec b/gtk-webkit3.spec
index f702609..874d7a1 100644
--- a/gtk-webkit3.spec
+++ b/gtk-webkit3.spec
@@ -16,7 +16,7 @@ Summary(pl.UTF-8):	Port osadzalnego komponentu WWW WebKit do GTK+ 3
 Name:		gtk-webkit3
 # note: for 2.6.x series see gtk-webkit4
 Version:	2.4.11
-Release:	13
+Release:	14
 License:	BSD-like
 Group:		X11/Libraries
 Source0:	http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
@@ -109,6 +109,9 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # __once_call, __once_called non-function symbols from libstdc++
 %define		skip_post_check_so	lib.*gtk-3.0.*
 
+# JSStringRef uses "!this" comparisons (UB)
+%define		specflags	-fno-delete-null-pointer-checks
+
 %description
 gtk-webkit3 is a port of the WebKit embeddable web component to GTK+
 3.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit3.git/commitdiff/d80a6c56d936675993b3815c428485f8cd1e698d



More information about the pld-cvs-commit mailing list