[khronos-opencl-headers] 77/94: import changes from NMU 1.2-2014.04.13-1.1

Andreas Beckmann anbe at moszumanska.debian.org
Mon Sep 21 02:39:09 UTC 2015


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

anbe pushed a commit to branch master
in repository khronos-opencl-headers.

commit 016e1d486f49999752fa4235f8e93f4c6b5c2a60
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sat Sep 27 16:10:34 2014 +0000

    import changes from NMU 1.2-2014.04.13-1.1
    
    git-svn-id: svn://svn.debian.org/svn/pkg-nvidia/packages/khronos-opencl-headers/trunk@4907 b6a4b1ba-b714-0410-8a2d-fc0b36c6496e
---
 debian/changelog                 |  8 ++++++++
 debian/patches/series            |  1 +
 debian/patches/use__vector.patch | 27 +++++++++++++++++++++++++++
 3 files changed, 36 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 109594e..2dc350d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+khronos-opencl-headers (1.2-2014.04.13-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Use __vector instead of vector in cl_platform.h to allow building
+    with -maltivec. Closes: #760310
+
+ -- Andreas Barth <aba at ayous.org>  Fri, 12 Sep 2014 19:52:42 +0000
+
 khronos-opencl-headers (1.2-2014.04.13-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/patches/series b/debian/patches/series
index b32ede3..60a1758 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 AMD_extensions.patch
+use__vector.patch
diff --git a/debian/patches/use__vector.patch b/debian/patches/use__vector.patch
new file mode 100644
index 0000000..b1212de
--- /dev/null
+++ b/debian/patches/use__vector.patch
@@ -0,0 +1,27 @@
+Description: Use __vector instead of vector in cl_platform.h to allow building with -maltivec.
+Author: Aurelien Jarno <aurel32 at debian.org>
+Bug-Debian: https://bugs.debian.org/760310
+
+--- khronos-opencl-headers-1.2-2014.04.13.orig/cl_platform.h
++++ khronos-opencl-headers-1.2-2014.04.13/cl_platform.h
+@@ -332,13 +332,13 @@ typedef unsigned int cl_GLenum;
+ /* Define basic vector types */
+ #if defined( __VEC__ )
+    #include <altivec.h>   /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */
+-   typedef vector unsigned char     __cl_uchar16;
+-   typedef vector signed char       __cl_char16;
+-   typedef vector unsigned short    __cl_ushort8;
+-   typedef vector signed short      __cl_short8;
+-   typedef vector unsigned int      __cl_uint4;
+-   typedef vector signed int        __cl_int4;
+-   typedef vector float             __cl_float4;
++   typedef __vector unsigned char     __cl_uchar16;
++   typedef __vector signed char       __cl_char16;
++   typedef __vector unsigned short    __cl_ushort8;
++   typedef __vector signed short      __cl_short8;
++   typedef __vector unsigned int      __cl_uint4;
++   typedef __vector signed int        __cl_int4;
++   typedef __vector float             __cl_float4;
+    #define  __CL_UCHAR16__  1
+    #define  __CL_CHAR16__   1
+    #define  __CL_USHORT8__  1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/khronos-opencl-headers.git



More information about the Pkg-opencl-commits mailing list