summaryrefslogtreecommitdiff
path: root/libsbml-rhbz_2128592.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-06 07:23:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-06 07:23:56 +0000
commita79951100d61e4a2fe3c72c6e577dc10e19f55b5 (patch)
tree91eb7bfb6048d335ee2b35eff703e0afc3ce4436 /libsbml-rhbz_2128592.patch
parent90c29e6a875dfef340587bfd00c08e446a3e96e6 (diff)
automatic import of libsbml
Diffstat (limited to 'libsbml-rhbz_2128592.patch')
-rw-r--r--libsbml-rhbz_2128592.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libsbml-rhbz_2128592.patch b/libsbml-rhbz_2128592.patch
new file mode 100644
index 0000000..f82ba49
--- /dev/null
+++ b/libsbml-rhbz_2128592.patch
@@ -0,0 +1,12 @@
+diff -up libSBML-5.19.0-Source/examples/python/append_to_note.py.swig libSBML-5.19.0-Source/examples/python/append_to_note.py
+--- libSBML-5.19.0-Source/examples/python/append_to_note.py.swig 2022-09-20 11:29:15.703578074 +0200
++++ libSBML-5.19.0-Source/examples/python/append_to_note.py 2022-09-20 11:29:51.020806478 +0200
+@@ -75,7 +75,7 @@ def addToNotes(doc, id, stringToAdd):
+ exit(4)
+ print ("Body before change: ")
+ print (body.toXMLString())
+- body.addChild(libsbml.XMLNode_convertStringToXMLNode(stringToAdd))
++ body.addChild(libsbml.XMLNode.convertStringToXMLNode(stringToAdd))
+ print ("\nBody after change: ")
+ print (body.toXMLString())
+