Control: tags -1 patch
On 2024-06-16 Lucas Nussbaum <lu...@debian.org> wrote:
> Source: abiword
> Version: 3.0.5~dfsg-3.2
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20240615 ftbfs-trixie

> Hi,

> During a rebuild of all packages in sid, your package failed to build
> on amd64.


> Relevant part (hopefully):
[...]
> > ut_stringbuf.cpp: In member function ‘void UT_UTF8Stringbuf::escapeURL()’:
> > ut_stringbuf.cpp:578:17: error: ‘xmlFree’ was not declared in this scope; 
> > did you mean ‘xmlFreeURI’?
> >   578 |                 xmlFree(uri);
> >       |                 ^~~~~~~
> >       |                 xmlFreeURI
> > make[7]: *** [Makefile:831: ut_stringbuf.lo] Error 1

Hello,

this worked for me:
--- abiword-3.0.5~dfsg.orig/src/af/util/xp/ut_stringbuf.cpp
+++ abiword-3.0.5~dfsg/src/af/util/xp/ut_stringbuf.cpp
@@ -26,6 +26,7 @@
 #include <algorithm>

 #include <libxml/uri.h>
+#include <libxml/xmlmemory.h>

 #include <glib.h>

cu Andreas

Reply via email to