[gmsh] 05/10: Fix compilation of java-wrapper.
Anton Gladky
gladk at moszumanska.debian.org
Mon Mar 21 23:30:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository gmsh.
commit cdc6dcea3591415f52115d46f35958dca2b55158
Author: Anton Gladky <gladk at debian.org>
Date: Mon Mar 21 22:26:10 2016 +0100
Fix compilation of java-wrapper.
---
debian/patches/140_fix_java.patch | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/debian/patches/140_fix_java.patch b/debian/patches/140_fix_java.patch
new file mode 100644
index 0000000..de96d1f
--- /dev/null
+++ b/debian/patches/140_fix_java.patch
@@ -0,0 +1,17 @@
+Description: add_physical declaration is changed.
+ Update java-interface.
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2016-03-21
+
+--- gmsh-2.12.0+dfsg1.orig/wrappers/java/WrapGmsh.i
++++ gmsh-2.12.0+dfsg1/wrappers/java/WrapGmsh.i
+@@ -53,7 +53,8 @@ extern int GModel::indexMeshVertices(boo
+ extern int GmshInitialize(int argc, char **argv);
+ extern int GmshFinalize();
+ extern Vertex *Create_Vertex(int Num, double X, double Y, double Z, double lc, double u);
+-extern void add_physical(std::string type, List_T *list, std::string fileName);
++extern void add_physical(std::string type, List_T *list, std::string fileName,
++ const std::string &name, int forceTag, bool append, const std::string &mode);
+
+ //use the Vector object defined in Java language to wrap the std vector.
+ %include "std_vector.i"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gmsh.git
More information about the debian-science-commits
mailing list