[xml/sgml-pkgs] Bug#279328: A small libxml-dev fix
Martti Kuparinen
Martti Kuparinen <martti.kuparinen@iki.fi>, 279328@bugs.debian.org
Tue, 2 Nov 2004 13:40:49 +0200 (EET)
Package: libxml-dev
Version: 1.8.17-9
I'm having problems with libxml 1.8.17-9:
In file included from /usr/include/gnome-xml/libxml/parser.h:15,
from somefile.c:64:
/usr/include/gnome-xml/libxml/entities.h:95: warning: redundant redeclaration of `xmlCopyEntitiesTable' in same scope
/usr/include/gnome-xml/libxml/entities.h:91: warning: previous declaration of `xmlCopyEntitiesTable'
The error is fixed by applying the following patch:
--- entities.h.orig 2004-11-02 13:25:04.000000000 +0200
+++ entities.h 2004-11-02 13:25:22.000000000 +0200
@@ -94,3 +94,2 @@
xmlEntitiesTablePtr table);
-xmlEntitiesTablePtr xmlCopyEntitiesTable (xmlEntitiesTablePtr table);
void xmlCleanupPredefinedEntities(void);
# uname -a
Linux n130 2.6.9 #2 Tue Nov 2 13:04:59 EET 2004 i686 GNU/Linux
# dpkg -l | grep libxml
ii libxml-dev 1.8.17-9 Development files for the GNOME XML library
ii libxml1 1.8.17-9 GNOME XML library
ii libxml2 2.6.11-5 GNOME XML library
PS. I've fixed this on NetBSD using the same patch and it works just fine:
http://mail-index.netbsd.org/pkgsrc-changes/2003/04/25/0002.html