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: 7
+Release: 14
License: BSD-like
Group: X11/Libraries
Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
Patch1: abs.patch
Patch2: %{name}-icu59.patch
Patch3: %{name}-icu65.patch
+Patch4: glib2.68.patch
+Patch5: icu68.patch
+Patch6: grammar.patch
+Patch7: volatile.patch
URL: http://webkitgtk.org/
BuildRequires: /usr/bin/ld.gold
BuildRequires: EGL-devel
# __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.
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
%build
%{__libtoolize}