[pocl] 05/08: add support for GNU/Hurd

Andreas Beckmann anbe at moszumanska.debian.org
Sat May 28 18:03:42 UTC 2016


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

anbe pushed a commit to branch experimental
in repository pocl.

commit 25955a41771cd06d6e4e527c355e6e447839fb64
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sat May 28 09:08:11 2016 +0200

    add support for GNU/Hurd
---
 debian/patches/{freebsd-compat.patch => os-compat.patch} | 4 ++--
 debian/patches/series                                    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/patches/freebsd-compat.patch b/debian/patches/os-compat.patch
similarity index 75%
rename from debian/patches/freebsd-compat.patch
rename to debian/patches/os-compat.patch
index 7d0d2a6..a935b29 100644
--- a/debian/patches/freebsd-compat.patch
+++ b/debian/patches/os-compat.patch
@@ -1,4 +1,4 @@
-Description: Fix includes for FreeBSD
+Description: Fix includes for FreeBSD and GNU/Hurd
 
 --- a/tools/patches/khronos_cl.hpp.patch
 +++ b/tools/patches/khronos_cl.hpp.patch
@@ -7,7 +7,7 @@ Description: Fix includes for FreeBSD
  
  -#if defined(linux) || defined(__APPLE__) || defined(__MACOSX)
 -+#if defined(linux) || defined(__APPLE__) || defined(__MACOSX) || defined(__ANDROID__)
-++#if defined(linux) || defined(__APPLE__) || defined(__MACOSX) || defined(__ANDROID__) || defined(__FreeBSD_kernel__)
+++#if defined(linux) || defined(__APPLE__) || defined(__MACOSX) || defined(__ANDROID__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
   #include <alloca.h>
   
  -#include <emmintrin.h>
diff --git a/debian/patches/series b/debian/patches/series
index 751fd6c..e42096a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,4 @@
-freebsd-compat.patch
+os-compat.patch
 fix-configure-for-debian-archs.patch
 llvm-system-libs.patch
 fix-image-args.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/pocl.git



More information about the Pkg-opencl-commits mailing list