Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libqt5-qtwebkit for openSUSE:Factory checked in at 2021-04-12 12:36:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt5-qtwebkit (Old) and /work/SRC/openSUSE:Factory/.libqt5-qtwebkit.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt5-qtwebkit" Mon Apr 12 12:36:12 2021 rev:58 rq:883641 version:5.212~alpha4 Changes: -------- --- /work/SRC/openSUSE:Factory/libqt5-qtwebkit/libqt5-qtwebkit.changes 2020-12-18 19:56:42.709890839 +0100 +++ /work/SRC/openSUSE:Factory/.libqt5-qtwebkit.new.2401/libqt5-qtwebkit.changes 2021-04-12 12:39:11.441496643 +0200 @@ -1,0 +2,6 @@ +Wed Apr 7 11:41:08 UTC 2021 - Fabian Vogt <fv...@suse.com> + +- Add patch to fix build with glib >= 2.68.0: + * 0001-Remove-invalid-g_object-declarations-to-fix-build-wi.patch + +------------------------------------------------------------------- New: ---- 0001-Remove-invalid-g_object-declarations-to-fix-build-wi.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt5-qtwebkit.spec ++++++ --- /var/tmp/diff_new_pack.Ajyula/_old 2021-04-12 12:39:12.245497578 +0200 +++ /var/tmp/diff_new_pack.Ajyula/_new 2021-04-12 12:39:12.249497582 +0200 @@ -50,6 +50,7 @@ Patch2: webkit-bwo141288.patch Patch3: qtwebkit-5.212.0_pre20200309-bison-3.7.patch Patch4: icu-68.patch +Patch5: 0001-Remove-invalid-g_object-declarations-to-fix-build-wi.patch %if %{with avsupport} BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-app-1.0) ++++++ 0001-Remove-invalid-g_object-declarations-to-fix-build-wi.patch ++++++ >From 5b698ba3faffd4e198a45be9fe74f53307395e4b Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fv...@suse.de> Date: Wed, 7 Apr 2021 13:38:09 +0200 Subject: [PATCH] Remove invalid g_object declarations to fix build with glib >= 2.68 g_object_ref_sink is defined as a macro meanwhile and so the build fails. Just remove the declarations, glib.h is included anyway. (Backported to 5.212. The glib include was added later, so the description didn't match yet.) --- Source/WTF/wtf/glib/GRefPtr.h | 3 --- 1 file changed, 3 deletions(-) Index: qtwebkit-5.212.0-alpha4/Source/WTF/wtf/glib/GRefPtr.h =================================================================== --- qtwebkit-5.212.0-alpha4.orig/Source/WTF/wtf/glib/GRefPtr.h +++ qtwebkit-5.212.0-alpha4/Source/WTF/wtf/glib/GRefPtr.h @@ -28,9 +28,7 @@ #include <wtf/GetPtr.h> #include <wtf/RefPtr.h> #include <algorithm> - -extern "C" void g_object_unref(gpointer); -extern "C" gpointer g_object_ref_sink(gpointer); +#include <glib.h> namespace WTF {