Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 785216 Details for
Bug 852101
sci-physics/bullet-3.21 cannot compile on ppc64le
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ppc.patch
ppc.patch (text/plain), 1.63 KB, created by
darkbasic
on 2022-06-15 08:55:50 UTC
(
hide
)
Description:
ppc.patch
Filename:
MIME Type:
Creator:
darkbasic
Created:
2022-06-15 08:55:50 UTC
Size:
1.63 KB
patch
obsolete
>--- ./src/clew/clew.h.orig 2022-02-16 18:12:48.879740507 +0100 >+++ ./src/clew/clew.h 2022-02-16 18:13:32.403061196 +0100 >@@ -319,14 +319,24 @@ > > /* 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; >+ #if defined(__powerpc__) >+ 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; >+ #else >+ #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; >+ #endif > #define __CL_UCHAR16__ 1 > #define __CL_CHAR16__ 1 > #define __CL_USHORT8__ 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 852101
: 785216