Package: librsvg / 2.44.10-2.1

10_rsvg-gz.patch Patch series | 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: Josselin Mouette <joss@debian.org>
Date: Tue, 19 Dec 2017 18:31:53 -0500
Subject: Revert ABI breakage

Provide the rsvg_handle_new_gz function.
Do not provide the C prototype to force
applications using it to use rsvg_handle_new instead.
---
 librsvg/rsvg-handle.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/librsvg/rsvg-handle.c b/librsvg/rsvg-handle.c
index ecdffdf..e9285aa 100644
--- a/librsvg/rsvg-handle.c
+++ b/librsvg/rsvg-handle.c
@@ -405,6 +405,13 @@ rsvg_handle_free (RsvgHandle * handle)
     g_object_unref (handle);
 }
 
+/* Debian-specific, for compatibility with old ABI */
+RsvgHandle *
+rsvg_handle_new_gz (void)
+{
+    return rsvg_handle_new ();
+}
+
 /**
  * rsvg_handle_new:
  *