[pyfftw] 02/06: add patch fixing build of pyFFTW on arm
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Sep 22 10:38:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository pyfftw.
commit 1e1a420775c36c4d9f57dc1f921c5421ddd452e3
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Tue Sep 22 11:12:10 2015 +0100
add patch fixing build of pyFFTW on arm
---
debian/patches/arm-build.diff | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/arm-build.diff b/debian/patches/arm-build.diff
new file mode 100644
index 0000000..7e667bb
--- /dev/null
+++ b/debian/patches/arm-build.diff
@@ -0,0 +1,21 @@
+Description: fix build on arm, avoid linking with ldouble FFTW
+Author: Matthias Klose <doko at ubuntu.com>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779724
+Last-Update: 2015-03-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/setup.py
++++ b/setup.py
+@@ -64,8 +64,10 @@
+ package_data['pyfftw'] = [
+ 'libfftw3-3.dll', 'libfftw3l-3.dll', 'libfftw3f-3.dll']
+ else:
+- libraries = ['fftw3', 'fftw3f', 'fftw3l', 'fftw3_threads',
+- 'fftw3f_threads', 'fftw3l_threads']
++ libraries = ['fftw3', 'fftw3f', 'fftw3_threads',
++ 'fftw3f_threads']
++ if not get_platform().startswith('linux-arm'):
++ libraries.extend(['fftw3l', 'fftw3l_threads'])
+
+ class custom_build_ext(build_ext):
+ def finalize_options(self):
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6b47952
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+arm-build.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyfftw.git
More information about the debian-science-commits
mailing list