I've crafted a small patch which I carry in my portage tree since several releases in order to make bullet compile on ppc64le. I'd like to get it merged. Reproducible: Always
Created attachment 785216 [details] ppc.patch
Upstream PR: https://github.com/bulletphysics/bullet3/pull/4283
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=884d9dafc85fe80042e62fd1434e9ca7e8668183 commit 884d9dafc85fe80042e62fd1434e9ca7e8668183 Author: Niccolò Belli <niccolo.belli@linuxsystems.it> AuthorDate: 2022-11-08 11:40:14 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2022-11-27 21:45:46 +0000 sci-physics/bullet: rename altivec vector keywords Altivec vectors can be defined with either the "vector" keyword or the "__vector" type. In general "__vector" should be prefered for include files, as otherwise it might conflicts with other type define in the source code (define a vector class in C++ is quite common). This causes bullet to fail to build on powerpc if the code is compiled with -maltivec, or by default on ppc64el which always has altivec enabled. See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760310 Closes: https://bugs.gentoo.org/852101 Signed-off-by: Niccolò Belli <niccolo.belli@linuxsystems.it> Closes: https://github.com/gentoo/gentoo/pull/28193 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-physics/bullet/bullet-3.21.ebuild | 2 ++ ...ullet-3.21-replace_altivec_vector_keyword.patch | 24 ++++++++++++++++++++++ 2 files changed, 26 insertions(+)