[SCM] Python wrapper for the GNU Triangulated Surface library (GTS) branch, master, updated. upstream/0.3.1-12-g47d6c1d
Anton Gladky
gladky.anton at gmail.com
Tue Oct 30 17:26:13 UTC 2012
The following commit has been merged in the master branch:
commit 47d6c1defc797dae4f21a6ea76853f28afb535f2
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Tue Oct 30 18:29:27 2012 +0100
Fix compilation warnings.
diff --git a/debian/patches/fix_warnings.patch b/debian/patches/fix_warnings.patch
new file mode 100644
index 0000000..be6e053
--- /dev/null
+++ b/debian/patches/fix_warnings.patch
@@ -0,0 +1,20 @@
+Description: Fix compilation warnings
+Author: Anton Gladky <gladky.anton at gmail.com>
+Last-Update: 2012-10-31
+
+--- a/gts/pygts.h
++++ b/gts/pygts.h
+@@ -32,11 +32,12 @@
+ #define PYGTS_DEBUG 1
+ #endif /* PYGTS_DEBUG */
+
++#include <Python.h>
++
+ #include <stdlib.h>
+ #include <string.h>
+ #include <math.h>
+
+-#include <Python.h>
+ #include <structmember.h>
+
+ /* Defined for arrayobject.h which is only included where needed */
diff --git a/debian/patches/series b/debian/patches/series
index 1e44127..187ddd4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix_examples.patch
+fix_warnings.patch
--
Python wrapper for the GNU Triangulated Surface library (GTS)
More information about the debian-science-commits
mailing list