-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/qt5-webkit: Fix fetch of glib 2.68 workaround
The filesize of the glib 2.68 workaround changes for some reason intermittently from 841 bytes to 839 bytes when it's fetched: $ diff 5b698ba3faff_841_bytes.patch 5b698ba3faff_839_bytes.patch 14c14 < index 06133d82cb35d..d9a1d2f145f50 100644 --- > index 06133d82cb35..d9a1d2f145f5 100644 Therefore convert the patch into a local patch to remedy the issue. Reported by: tcberner, yuri MFH: No (not required, devel/glib20 is at 2.66.8 in 2021Q3)
- Loading branch information
Showing
3 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From: Fabian Vogt <fvogt@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. | ||
|
||
Obtained from: | ||
|
||
https://github.com/qtwebkit/qtwebkit/commit/5b698ba3faffd4e198a45be9fe74f53307395e4b.patch | ||
|
||
--- Source/WTF/wtf/glib/GRefPtr.h.orig 2020-03-04 17:16:37 UTC | ||
+++ Source/WTF/wtf/glib/GRefPtr.h | ||
@@ -29,9 +29,6 @@ | ||
#include <wtf/RefPtr.h> | ||
#include <algorithm> | ||
|
||
-extern "C" void g_object_unref(gpointer); | ||
-extern "C" gpointer g_object_ref_sink(gpointer); | ||
- | ||
namespace WTF { | ||
|
||
enum GRefPtrAdoptType { GRefPtrAdopt }; |