git: b8d1d9dc6bc0 - main - biology/py-libsedml: Allow build with swig 4.1.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Apr 2023 18:10:21 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b8d1d9dc6bc07881f03fa27b8001fdfb45a0994f commit b8d1d9dc6bc07881f03fa27b8001fdfb45a0994f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-18 17:59:22 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-18 18:05:12 +0000 biology/py-libsedml: Allow build with swig 4.1.0+ PR: 270720 Obtained from: https://github.com/fbergmann/libSEDML/commit/f0a9ee974826a3ef651ecb2553b10ea47f652bc5 --- biology/py-libsedml/files/patch-CMakeLists.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/biology/py-libsedml/files/patch-CMakeLists.txt b/biology/py-libsedml/files/patch-CMakeLists.txt index bf9fb52e3943..1ad8d3a30828 100644 --- a/biology/py-libsedml/files/patch-CMakeLists.txt +++ b/biology/py-libsedml/files/patch-CMakeLists.txt @@ -1,5 +1,16 @@ ---- CMakeLists.txt.orig 2022-02-15 14:40:48 UTC +--- CMakeLists.txt.orig 2022-06-07 11:34:09 UTC +++ CMakeLists.txt +@@ -37,8 +37,8 @@ endif(LIBSEDML_REMOVE_WRAPPERS) + + + set(SWIG_EXTRA_FLAGS -DSWIGEXPORT +- -DLIBSBML_CPP_NAMESPACE_BEGIN -DLIBSBML_CPP_NAMESPACE_END -DLIBSBML_CPP_NAMESPACE_QUALIFIER -DLIBSBML_CPP_NAMESPACE_USE +- -DLIBNUML_CPP_NAMESPACE_BEGIN -DLIBNUML_CPP_NAMESPACE_END -DLIBNUML_CPP_NAMESPACE_QUALIFIER -DLIBNUML_CPP_NAMESPACE_USE ++ -DLIBSBML_CPP_NAMESPACE_BEGIN= -DLIBSBML_CPP_NAMESPACE_END= -DLIBSBML_CPP_NAMESPACE_QUALIFIER= -DLIBSBML_CPP_NAMESPACE_USE= ++ -DLIBNUML_CPP_NAMESPACE_BEGIN= -DLIBNUML_CPP_NAMESPACE_END= -DLIBNUML_CPP_NAMESPACE_QUALIFIER= -DLIBNUML_CPP_NAMESPACE_USE= + ) + if(NOT UNIX) + set(SWIG_EXTRA_FLAGS ${SWIG_EXTRA_FLAGS} -DSWIGWIN -DSWIG_CSHARP_NO_WSTRING_HELPER ) @@ -49,6 +49,7 @@ ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libsedml_wrap.cpp COMMAND "${SWIG_EXECUTABLE}"