[packages/gtk-webkit] - 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:30:24 CET 2023


commit e1a6eaf5260e8c4e4d5575c7eeb6fe7f6a901aad
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Feb 27 06:32:14 2023 +0100

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

 gtk-webkit.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gtk-webkit.spec b/gtk-webkit.spec
index bea0598..7f03d64 100644
--- a/gtk-webkit.spec
+++ b/gtk-webkit.spec
@@ -12,7 +12,7 @@ Summary(pl.UTF-8):	Port osadzalnego komponentu WWW WebKit do GTK+ 2
 Name:		gtk-webkit
 # note: 2.4.x is the last series with webkitgtk-1 API and GTK+ 2.x support
 Version:	2.4.11
-Release:	12
+Release:	13
 License:	BSD-like
 Group:		X11/Libraries
 Source0:	http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
@@ -97,6 +97,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-1.0.*
 
+# JSStringRef uses "!this" comparisons (UB)
+%define		specflags	-fno-delete-null-pointer-checks
+
 %description
 gtk-webkit is a port of the WebKit embeddable web component to GTK+ 2.
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit.git/commitdiff/e1a6eaf5260e8c4e4d5575c7eeb6fe7f6a901aad



More information about the pld-cvs-commit mailing list