[med-svn] [Git][med-team/sra-sdk][master] 2 commits: + bypass-libxml2-ATTRIBUTE_UNUSED.patch (#1106622).

Aaron M. Ucko (@ucko) gitlab at salsa.debian.org
Sun Aug 17 22:03:00 BST 2025



Aaron M. Ucko pushed to branch master at Debian Med / sra-sdk


Commits:
4833656c by Aaron M. Ucko at 2025-08-16T23:39:10-04:00
+ bypass-libxml2-ATTRIBUTE_UNUSED.patch (#1106622).

Fix builds with libxml2 2.14+, which don't define ATTRIBUTE_UNUSED
publically.

- - - - -
b50b336b by Aaron M. Ucko at 2025-08-17T17:01:30-04:00
Merge accidentally omitted HDF cleanup.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/bypass-libxml2-ATTRIBUTE_UNUSED.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+sra-sdk (3.2.1+dfsg-5) unstable; urgency=medium
+
+  * debian/patches/bypass-libxml2-ATTRIBUTE_UNUSED.patch (new): Fix builds
+    with libxml2 2.14+, which don't define ATTRIBUTE_UNUSED publically.
+    (Closes: #1106622.)
+
+ -- Aaron M. Ucko <ucko at debian.org>  Sat, 16 Aug 2025 23:39:09 -0400
+
 sra-sdk (3.2.1+dfsg-4) unstable; urgency=medium
 
   * debian/patches: Add two patches for GCC 15 support.  (Closes: #1097930.)


=====================================
debian/patches/bypass-libxml2-ATTRIBUTE_UNUSED.patch
=====================================
@@ -0,0 +1,13 @@
+Index: b/libs/kxml/xml.c
+===================================================================
+--- a/libs/kxml/xml.c
++++ b/libs/kxml/xml.c
+@@ -171,7 +171,7 @@ rc_t KXMLMgrSchemaValidate ( const KXMLM
+ }
+ #endif
+ 
+-static void s_xmlGenericErrorDefaultFunc(void *ctx ATTRIBUTE_UNUSED,
++static void s_xmlGenericErrorDefaultFunc(void *ctx __attribute__((unused)),
+     const char *msg,
+     ...)
+ {


=====================================
debian/patches/series
=====================================
@@ -44,3 +44,4 @@ pyhon3.12-syntax.patch
 setuptools.patch
 fix_bm_for_gcc15.patch
 include_cstdint_for_gcc15.patch
+bypass-libxml2-ATTRIBUTE_UNUSED.patch



View it on GitLab: https://salsa.debian.org/med-team/sra-sdk/-/compare/2e48dfb259b480095d935405f7e2efedd5ebeef8...b50b336bfc29838cc3c2d3c3d53e1a4916509462

-- 
View it on GitLab: https://salsa.debian.org/med-team/sra-sdk/-/compare/2e48dfb259b480095d935405f7e2efedd5ebeef8...b50b336bfc29838cc3c2d3c3d53e1a4916509462
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/20250817/a8ecf683/attachment-0001.htm>


More information about the debian-med-commit mailing list