git: fb107dc4b6c8 - main - graphics/mesa-libs: fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Nov 2023 22:29:44 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb107dc4b6c89ed020a5377b5f3281f445dd954f commit fb107dc4b6c89ed020a5377b5f3281f445dd954f Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-11-23 23:25:14 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-11-24 22:29:41 +0000 graphics/mesa-libs: fix build on powerpc64le Checking if "POWER8 intrinsics" compiles: NO meson.build:720:6: ERROR: Problem encountered: POWER8 intrinsic support required but not found. --- graphics/mesa-dri/files/patch-meson.build | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/graphics/mesa-dri/files/patch-meson.build b/graphics/mesa-dri/files/patch-meson.build new file mode 100644 index 000000000000..b94c2e4dd7ba --- /dev/null +++ b/graphics/mesa-dri/files/patch-meson.build @@ -0,0 +1,11 @@ +--- meson.build.orig 2023-09-20 17:15:34 UTC ++++ meson.build +@@ -709,7 +709,7 @@ if _power8.allowed() + int main() { + vector unsigned char r; + vector unsigned int v = vec_splat_u32 (1); +- r = __builtin_vec_vgbbd ((vector unsigned char) v); ++ r = __builtin_altivec_vgbbd ((vector unsigned char) v); + return 0; + }''', + args : '-mpower8-vector',