[med-svn] [Git][med-team/libsbml][minizip-fixes] d/p/avoid-empty-L-option.patch: New patch
Rafael Laboissière (@rafael)
gitlab at salsa.debian.org
Thu Sep 17 15:24:54 BST 2026
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 <rafael at debian.org>
+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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260917/2e35958c/attachment-0001.htm>
More information about the debian-med-commit
mailing list