Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 852101

Summary: sci-physics/bullet-3.21 cannot compile on ppc64le
Product: Gentoo Linux Reporter: darkbasic <darkbasic>
Component: Current packagesAssignee: Gentoo Science Physics related packages <sci-physics>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH, PullRequest
Priority: Normal    
Version: unspecified   
Hardware: PPC64   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28193
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ppc.patch

Description darkbasic 2022-06-15 08:54:47 UTC
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
Comment 1 darkbasic 2022-06-15 08:55:50 UTC
Created attachment 785216 [details]
ppc.patch
Comment 2 darkbasic 2022-06-15 09:01:53 UTC
Upstream PR: https://github.com/bulletphysics/bullet3/pull/4283
Comment 3 Larry the Git Cow gentoo-dev 2022-11-27 21:45:56 UTC
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(+)