haskell-gi: Backport upstream patch to work with newer GLib
Ilias Tsitsimpis
3 years ago
|
0 |
haskell-haskell-gi (0.24.4-2) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Backport upstream patch to work with newer GLib (Closes: #971183)
|
|
3 |
|
|
4 |
-- Ilias Tsitsimpis <iliastsi@debian.org> Mon, 28 Sep 2020 18:27:02 +0300
|
|
5 |
|
0 | 6 |
haskell-haskell-gi (0.24.4-1) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* New upstream release
|
|
0 |
From 0b988bb20764024b06fdaa9a515cc7e92eda89c3 Mon Sep 17 00:00:00 2001
|
|
1 |
From: =?UTF-8?q?I=C3=B1aki=20Garc=C3=ADa=20Etxebarria?=
|
|
2 |
<1238558+garetxe@users.noreply.github.com>
|
|
3 |
Date: Thu, 24 Sep 2020 19:00:58 +0100
|
|
4 |
Subject: [PATCH] Accept (but ignore for the moment) docsections
|
|
5 |
|
|
6 |
---
|
|
7 |
lib/Data/GI/CodeGen/API.hs | 1 +
|
|
8 |
1 file changed, 1 insertion(+)
|
|
9 |
|
|
10 |
Index: b/lib/Data/GI/CodeGen/API.hs
|
|
11 |
===================================================================
|
|
12 |
--- a/lib/Data/GI/CodeGen/API.hs
|
|
13 |
+++ b/lib/Data/GI/CodeGen/API.hs
|
|
14 |
@@ -198,6 +198,7 @@ parseNSElement aliases ns@GIRNamespace{.
|
|
15 |
"class" -> parse APIObject parseObject
|
|
16 |
"interface" -> parse APIInterface parseInterface
|
|
17 |
"boxed" -> ns -- Unsupported
|
|
18 |
+ "docsection" -> ns -- Ignored for now, see https://github.com/haskell-gi/haskell-gi/issues/318
|
|
19 |
n -> error . T.unpack $ "Unknown GIR element \"" <> n <> "\" when processing namespace \"" <> nsName <> "\", aborting."
|
|
20 |
where parse :: (a -> API) -> Parser (Name, a) -> GIRNamespace
|
|
21 |
parse wrapper parser =
|
0 | 0 |
force-overloading
|
|
1 |
fix-docsections
|