]> git.pld-linux.org Git - packages/qt5-qtwebkit.git/blame - glib2.68.patch
icu rebuild; rel 7
[packages/qt5-qtwebkit.git] / glib2.68.patch
CommitLineData
999564b7
JP
1From 5b698ba3faffd4e198a45be9fe74f53307395e4b Mon Sep 17 00:00:00 2001
2From: Fabian Vogt <fvogt@suse.de>
3Date: Wed, 7 Apr 2021 13:38:09 +0200
4Subject: [PATCH] Remove invalid g_object declarations to fix build with glib
5 >= 2.68
6
7g_object_ref_sink is defined as a macro meanwhile and so the build fails.
8Just remove the declarations, glib.h is included anyway.
9---
10 Source/WTF/wtf/glib/GRefPtr.h | 3 ---
11 1 file changed, 3 deletions(-)
12
13diff --git a/Source/WTF/wtf/glib/GRefPtr.h b/Source/WTF/wtf/glib/GRefPtr.h
14index 06133d82cb35d..d9a1d2f145f50 100644
15--- a/Source/WTF/wtf/glib/GRefPtr.h
16+++ b/Source/WTF/wtf/glib/GRefPtr.h
17@@ -29,9 +29,6 @@
18 #include <wtf/RefPtr.h>
19 #include <algorithm>
20
21-extern "C" void g_object_unref(gpointer);
22-extern "C" gpointer g_object_ref_sink(gpointer);
23-
24 namespace WTF {
25
26 enum GRefPtrAdoptType { GRefPtrAdopt };
This page took 0.14372 seconds and 4 git commands to generate.