[arrayfire] 02/06: Add patch fixing FTBFS on hurd-i386.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Apr 14 10:45:47 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/master
in repository arrayfire.

commit c1d92c1049055bfab0195eefb486446935a02b4e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Apr 8 14:32:06 2016 +0100

    Add patch fixing FTBFS on hurd-i386.
---
 debian/patches/Enable-support-for-GNU-Hurd.patch | 21 +++++++++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/Enable-support-for-GNU-Hurd.patch b/debian/patches/Enable-support-for-GNU-Hurd.patch
new file mode 100644
index 0000000..2b4d2ec
--- /dev/null
+++ b/debian/patches/Enable-support-for-GNU-Hurd.patch
@@ -0,0 +1,21 @@
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Fri, 8 Apr 2016 10:18:04 +0100
+Subject: Enable support for GNU/Hurd.
+
+---
+ src/backend/host_memory.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/backend/host_memory.cpp b/src/backend/host_memory.cpp
+index 9b4f1e5..e96340e 100644
+--- a/src/backend/host_memory.cpp
++++ b/src/backend/host_memory.cpp
+@@ -16,7 +16,7 @@
+ #include <sys/types.h>
+ #include <sys/param.h>
+ 
+-#if defined(BSD)
++#if defined(BSD) && !defined(__GNU__)
+ #include <sys/sysctl.h>
+ #endif
+ 
diff --git a/debian/patches/series b/debian/patches/series
index f5a4238..e0836f2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ Disable-privacy-breaching-settings.patch
 Use-system-gtest.patch
 Disable-git-usage-in-Doxygen-settings.patch
 Fix-LAPACKE-detection.patch
+Enable-support-for-GNU-Hurd.patch

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



More information about the debian-science-commits mailing list