summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPicca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>2019-02-21 11:05:25 +0100
committerPicca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>2019-02-21 11:05:25 +0100
commit71ec9d92ea3933fd73da0b57bb6c3f3749a7bf04 (patch)
treef1793d9e83413ba926a475cb47f015a1e0e7b9e3
parentd3eee444cb0ec98210b17e50cab4000358d57783 (diff)
-rw-r--r--debian/changelog7
-rw-r--r--debian/patches/0004-fix-FTBFS-with-numpy-0.16.patch24
-rw-r--r--debian/patches/series1
3 files changed, 32 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index cff8d61..695e7b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+silx (0.9.0+dfsg-2) unstable; urgency=medium
+
+ * d/patches:
+ + 0004-fix-FTBFS-with-numpy-0.16.patch (Added)
+
+ -- Picca Frédéric-Emmanuel <picca@debian.org> Thu, 21 Feb 2019 11:05:12 +0100
+
silx (0.9.0+dfsg-1) unstable; urgency=medium
[ Picca Frédéric-Emmanuel ]
diff --git a/debian/patches/0004-fix-FTBFS-with-numpy-0.16.patch b/debian/patches/0004-fix-FTBFS-with-numpy-0.16.patch
new file mode 100644
index 0000000..bcc32ad
--- /dev/null
+++ b/debian/patches/0004-fix-FTBFS-with-numpy-0.16.patch
@@ -0,0 +1,24 @@
+From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?=
+ <picca@synchrotron-soleil.fr>
+Date: Thu, 21 Feb 2019 11:04:02 +0100
+Subject: fix FTBFS with numpy 0.16
+
+---
+ setup.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 40b2e8e..9f6ae13 100644
+--- a/setup.py
++++ b/setup.py
+@@ -614,8 +614,8 @@ class BuildExt(build_ext):
+ extern = 'extern "C" ' if ext.language == 'c++' else ''
+ return_type = 'void' if sys.version_info[0] <= 2 else 'PyObject*'
+
+- ext.extra_compile_args.append(
+- '''-fvisibility=hidden -D'PyMODINIT_FUNC=%s__attribute__((visibility("default"))) %s ' ''' % (extern, return_type))
++ # ext.extra_compile_args.append(
++ # '''-fvisibility=hidden -D'PyMODINIT_FUNC=%s__attribute__((visibility("default"))) %s ' ''' % (extern, return_type))
+
+ def is_debug_interpreter(self):
+ """
diff --git a/debian/patches/series b/debian/patches/series
index 168097d..57660df 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0002-use-the-system-mathjax-privacy-breach.patch
0003-fix-unit-test.patch
0003-do-not-modify-PYTHONPATH-from-setup.py.patch
+0004-fix-FTBFS-with-numpy-0.16.patch