projects/guix·blob ruby-team · refs

33 lines · 947 B

1From 694d8ae43d06efff21adebf377ce614d660b24cd Mon Sep 17 00:00:00 2001
2From: Christian Hesse <[email protected]>
3Date: Fri, 17 Nov 2023 22:30:42 +0100
4Subject: [PATCH] include missing header file
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9This fixes build error:
10```
11/build/inkscape/src/inkscape/src/object/uri.cpp: In constructor ‘Inkscape::URI::URI(const gchar*, const char*)’:
12/build/inkscape/src/inkscape/src/object/uri.cpp:86:9: error: ‘xmlFree’ was not declared in this scope; did you mean ‘xmlFreeURI’?
13 86 | xmlFree(full);
14```
15---
16 src/object/uri.h | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/src/object/uri.h b/src/object/uri.h
20index 381adec58cf..d5b211fe2b2 100644
21--- a/src/object/uri.h
22+++ b/src/object/uri.h
23@@ -13,6 +13,7 @@
24 #define INKSCAPE_URI_H
25
26 #include <libxml/uri.h>
27+#include <libxml/xmlmemory.h>
28 #include <memory>
29 #include <string>
30
31--
32GitLab
33