[med-svn] [Git][med-team/libsbml][master] 2 commits: Added patch from upstream to add libxml2 2.12.0 support. Closes: #1073321
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Wed Jun 26 18:06:43 BST 2024
Michael R. Crusoe pushed to branch master at Debian Med / libsbml
Commits:
bc8cf1ae by Michael R. Crusoe at 2024-06-26T19:00:06+02:00
Added patch from upstream to add libxml2 2.12.0 support. Closes: #1073321
- - - - -
e4d85303 by Michael R. Crusoe at 2024-06-26T19:00:06+02:00
upload to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/libxml2_2.12.0.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+libsbml (5.20.2+dfsg-8) unstable; urgency=medium
+
+ * Team upload.
+ * Added patch from upstream to add libxml2 2.12.0 support.
+ Closes: #1073321
+
+ -- Michael R. Crusoe <crusoe at debian.org> Wed, 26 Jun 2024 18:59:21 +0200
+
libsbml (5.20.2+dfsg-7) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/libxml2_2.12.0.patch
=====================================
@@ -0,0 +1,29 @@
+From a3e217851f18d3c5e8e2b0082fb98176738491e8 Mon Sep 17 00:00:00 2001
+From: Mamoru TASAKA <mtasaka at fedoraproject.org>
+Date: Thu, 30 Nov 2023 23:59:33 +0900
+Subject: support compilation with libxml2 2.12.0
+Origin: upstream,https://github.com/sbmlteam/libsbml/commit/a3e217851f18d3c5e8e2b0082fb98176738491e8
+Debian-Bug: https://bugs.debian.org/1073321
+
+libxml2 2.12.0 now makes xmlGetLastError() return const pointer:
+https://gitlab.gnome.org/GNOME/libxml2/-/commit/45470611b047db78106dcb2fdbd4164163c15ab7
+
+Fix variable type using xmlGetLastError() as such.
+
+---
+ src/sbml/xml/LibXMLParser.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/sbml/xml/LibXMLParser.cpp b/src/sbml/xml/LibXMLParser.cpp
+index 01c6faba38..26bc704161 100644
+--- a/src/sbml/xml/LibXMLParser.cpp
++++ b/src/sbml/xml/LibXMLParser.cpp
+@@ -424,7 +424,7 @@ LibXMLParser::parseNext ()
+
+ if ( xmlParseChunk(mParser, mBuffer, bytes, done) )
+ {
+- xmlErrorPtr libxmlError = xmlGetLastError();
++ const xmlError* libxmlError = xmlGetLastError();
+
+ // I tried reporting the message from libXML that's available in
+ // libxmlError->message, but the thing is bogus: it will say things
=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
+libxml2_2.12.0.patch
perl-installdirs.patch
hardening.patch
swig-3.x.patch
View it on GitLab: https://salsa.debian.org/med-team/libsbml/-/compare/928666901e570ffd3ff3c5f15982ee9b4554be3c...e4d8530393a8bec047c771c2f8459628c25a4e31
--
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/med-team/libsbml/-/compare/928666901e570ffd3ff3c5f15982ee9b4554be3c...e4d8530393a8bec047c771c2f8459628c25a4e31
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240626/153657c8/attachment-0001.htm>
More information about the debian-med-commit
mailing list