Bug#760310: opencl-headers: use __vector for altivec to avoid conflicts

2014-09-04 Thread Andreas Barth
* Aurelien Jarno (aure...@debian.org) [140904 21:36]: > Other distribution patches the internal copy of cl_platform.h included > in opencv by replacing "vector" with "__vector" [2]. In Debian it has to > be done in the opencl-headers package, as the internal copy is not used. > The patch below fixe

Bug#760310: opencl-headers: use __vector for altivec to avoid conflicts

2014-09-02 Thread Aurelien Jarno
Package: opencl-headers Version: 1.2-2014.04.13-1 Severity: important Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el Altivec vectors can be defined with either the "vector" keyword or the "__vector" type [1]. In general "__vector" should be prefered for include files, as other