File: 04_glib-2.70-support.patch

package info (click to toggle)
glib-d 2.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 456 kB
  • sloc: makefile: 5
file content (29 lines) | stat: -rw-r--r-- 779 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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