[libccp4] 01/02: attempt to fic the kfreebsd and hurd FTBFS

Frédéric-Emmanuel Picca picca at alioth.debian.org
Sat Sep 14 10:33:13 UTC 2013


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

picca pushed a commit to branch master
in repository libccp4.

commit b27113058c3da71ac7d9e1acf08b5039d0f3aa37
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Sat Sep 14 12:12:51 2013 +0200

    attempt to fic the kfreebsd and hurd FTBFS
---
 .../0001-fix-FTBFS-on-kfreebsd-and-hurd.patch      |   36 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 2 files changed, 37 insertions(+)

diff --git a/debian/patches/0001-fix-FTBFS-on-kfreebsd-and-hurd.patch b/debian/patches/0001-fix-FTBFS-on-kfreebsd-and-hurd.patch
new file mode 100644
index 0000000..e0280b3
--- /dev/null
+++ b/debian/patches/0001-fix-FTBFS-on-kfreebsd-and-hurd.patch
@@ -0,0 +1,36 @@
+From: =?UTF-8?q?Picca=20Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca at debian.org>
+Date: Sat, 14 Sep 2013 12:11:26 +0200
+Subject: fix FTBFS on kfreebsd and hurd
+
+---
+ ccp4/ccp4_sysdep.h | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/ccp4/ccp4_sysdep.h b/ccp4/ccp4_sysdep.h
+index 3b59591..3ef1751 100644
+--- a/ccp4/ccp4_sysdep.h
++++ b/ccp4/ccp4_sysdep.h
+@@ -98,7 +98,13 @@
+ #  define CALL_LIKE_SUN 1
+ #endif
+ 
+-#if defined (__FreeBSD__)
++#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__)
++#  undef CALL_LIKE_SUN
++#  define KNOWN_MACHINE
++#  define CALL_LIKE_SUN 1
++#endif
++
++#if defined (__gnu_hurd__)
+ #  undef CALL_LIKE_SUN
+ #  define KNOWN_MACHINE
+ #  define CALL_LIKE_SUN 1
+@@ -248,7 +254,7 @@
+ #  define NATIVEIT DFNTI_IBO
+ #endif
+ 
+-#if defined(MIPSEL) || defined(i386) || defined(i860) || defined(__ia64__) || defined(__amd64__) || defined(__x86_64__) || defined(WIN32)
++#if defined(MIPSEL) || defined(i386) || defined(i860) || defined(__ia64__) || defined(__amd64__) || defined(__x86_64__) || defined(WIN32) || defined(__FreeBSD_kernel__) || defined(__gnu_hurd__)
+ #  define NATIVEIT DFNTI_IBO
+ #  define NATIVEFT DFNTF_LEIEEE
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5a025f7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-fix-FTBFS-on-kfreebsd-and-hurd.patch

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



More information about the debian-science-commits mailing list