Rafael Laboissière pushed to branch minizip-fixes at Debian Med / libsbml


Commits:
5e1aeca7 by Rafael Laboissière at 2026-09-17T14:24:06+00:00
d/p/avoid-empty-L-option.patch: New patch

- - - - -


2 changed files:

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


Changes:

=====================================
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/-/commit/5e1aeca723571fd8fdfbf26d083260e1cb1d1771

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/libsbml/-/commit/5e1aeca723571fd8fdfbf26d083260e1cb1d1771
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