glibd/glibd-2.3.0-glib-2.70.patch

30 lines
779 B
Diff
Raw Normal View History

From 31cc330d1502084f25b207ba0f6c9a26126b5f20 Mon Sep 17 00:00:00 2001
From: Mike Wey <mike@mikewey.eu>
Date: Sun, 31 Oct 2021 21:53:17 +0100
Subject: [PATCH] Make sure GlibD builds for Glib 2.70.
Fixes #12
---
src/APILookupGLib.txt | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/APILookupGLib.txt b/src/APILookupGLib.txt
index d0d0bfc..36e1cb2 100644
--- a/src/APILookupGLib.txt
+++ b/src/APILookupGLib.txt
@@ -1985,9 +1985,11 @@ version: end
version 2.60: move: strv_equal Str
-move: string_new String
-move: string_new_len String
-move: string_sized_new String
+version <2.70: start
+ move: string_new String
+ move: string_new_len String
+ move: string_sized_new String
+version: end
move: bit_lock Thread
move: bit_trylock Thread