[nfft] 04/11: d/patches: add fix for FTBFS on hppa

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Mar 31 11:39:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository nfft.

commit 83bb9072d6abec07bc684b23969becb1667aef82
Author: Ghislain Vaillant <ghisvail at gmail.com>
Date:   Mon Mar 31 08:22:39 2014 +0100

    d/patches: add fix for FTBFS on hppa
---
 debian/patches/fix-hppa-build.patch | 12 ++++++++++++
 debian/patches/series               |  2 ++
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/fix-hppa-build.patch b/debian/patches/fix-hppa-build.patch
new file mode 100644
index 0000000..7071049
--- /dev/null
+++ b/debian/patches/fix-hppa-build.patch
@@ -0,0 +1,12 @@
+diff -up ./include/cycle.h.org ./include/cycle.h
+--- ./include/cycle.h.org	2014-03-26 15:42:41.840098000 -0600
++++ ./include/cycle.h	2014-03-26 15:43:35.072098000 -0600
+@@ -341,7 +341,7 @@ INLINE_ELAPSED(inline)
+ /*
+  * PA-RISC cycle counter 
+  */
+-#if defined(__hppa__) || defined(__hppa) && !defined(HAVE_TICK_COUNTER)
++#if (defined(__hppa__) || defined(__hppa)) && !defined(HAVE_TICK_COUNTER)
+ typedef unsigned long ticks;
+ 
+ #  ifdef __GNUC__
diff --git a/debian/patches/series b/debian/patches/series
index d43243f..6d8b8ef 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,3 @@
 fix-missing-lm.patch
+fix-hppa-build.patch
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/nfft.git



More information about the debian-science-commits mailing list