diff options
Diffstat (limited to 'community/bullet/ppc64le.patch')
-rw-r--r-- | community/bullet/ppc64le.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/bullet/ppc64le.patch b/community/bullet/ppc64le.patch new file mode 100644 index 00000000000..21422cc4d58 --- /dev/null +++ b/community/bullet/ppc64le.patch @@ -0,0 +1,25 @@ +diff --git a/src/clew/clew.h b/src/clew/clew.h +index cba8585..666473c 100644 +--- a/src/clew/clew.h ++++ b/src/clew/clew.h +@@ -320,13 +320,13 @@ float nanf(const char *); + /* 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 |