Andreas Tille pushed to branch master at Debian Med / libsbml


Commits:
0e1245a2 by Rafael Laboissière at 2026-09-17T20:29:59+02:00
d/control: Build-depend on libminizip-dev

- - - - -
5d462979 by Rafael Laboissière at 2026-09-17T20:29:59+02:00
d/p/avoid-empty-L-option.patch: New patch

- - - - -


3 changed files:

- debian/control
- + debian/patches/avoid-empty-L-option.patch
- debian/patches/series


Changes:

=====================================
debian/control
=====================================
@@ -27,6 +27,7 @@ Build-Depends:
  libbz2-dev,
  check,
  rdfind,
+ libminizip-dev,
 Vcs-Browser: https://salsa.debian.org/med-team/libsbml
 Vcs-Git: https://salsa.debian.org/med-team/libsbml.git
 Homepage: https://www.sbml.org/


=====================================
debian/patches/avoid-empty-L-option.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Avoid an empty -L option in mkoctfile command
+ The mkocfile command was being invoked with something like "-libsbml
+ -lminizip -L -L build/src/". The command then failed because "-L
+ build/scr" is interpreted as eing the argument of the first "-L"
+ option, which caused an error message such as "-libsbml not
+ found". This problem arises because that the path for the system
+ libraries, as detected by CMake, is empty. This patch fixes the
+ issue.
+Author: Rafael Laboissière <[email protected]>
+Forwarded: no
+Last-Updated: 2026-09-17
+
+--- libsbml-5.20.5+dfsg.orig/src/bindings/octave/CMakeLists.txt
++++ libsbml-5.20.5+dfsg/src/bindings/octave/CMakeLists.txt
+@@ -68,7 +68,9 @@ foreach(lib ${LIBSBML_LIBS})
+   if (index EQUAL -1)
+ 
+     list(APPEND OCTAVE_EXTRA_LIBS -l${name})
+-    list(APPEND OCTAVE_EXTRA_PATHS -L${path})
++    if ($path)
++      list(APPEND OCTAVE_EXTRA_PATHS -L${path})
++    endif()
+ 
+   endif()
+ endforeach()


=====================================
debian/patches/series
=====================================
@@ -10,3 +10,4 @@ missing_header.patch
 doxygen_mathjax_path.patch
 gcc-15.patch
 0001-Use-system-minizip-cmake.patch
+avoid-empty-L-option.patch



View it on GitLab: 
https://salsa.debian.org/med-team/libsbml/-/compare/f72e3eb2e3a5545c18a5d0d3277c9935531811cb...5d46297937c19dab0e09cb136981ac83da017a71

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/libsbml/-/compare/f72e3eb2e3a5545c18a5d0d3277c9935531811cb...5d46297937c19dab0e09cb136981ac83da017a71
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to