- try-to-fix-build-on-ppc64le.patch
* trying to fix build on ppc64le (boo#1191569) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1062
This commit is contained in:
parent
02123a224b
commit
d376f64e62
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 14 10:30:57 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- try-to-fix-build-on-ppc64le.patch
|
||||||
|
* trying to fix build on ppc64le (boo#1191569)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 4 20:05:50 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
Mon Oct 4 20:05:50 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
@ -135,6 +135,7 @@ Patch58: u_dep_xcb.patch
|
|||||||
Patch100: U_fix-mpeg1_2-decode-mesa-20.2.patch
|
Patch100: U_fix-mpeg1_2-decode-mesa-20.2.patch
|
||||||
Patch101: U_gallivm-add-new-wrapper-around-Module.patch
|
Patch101: U_gallivm-add-new-wrapper-around-Module.patch
|
||||||
Patch102: U_gallivm-fix-FTBFS-on-i386-with-LLVM-13.patch
|
Patch102: U_gallivm-fix-FTBFS-on-i386-with-LLVM-13.patch
|
||||||
|
Patch200: try-to-fix-build-on-ppc64le.patch
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
@ -770,6 +771,9 @@ rm -rf docs/README.{VMS,WIN32,OS2}
|
|||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
%patch102 -p1
|
%patch102 -p1
|
||||||
|
%ifarch ppc64le
|
||||||
|
%patch200 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
# Remove requires to vulkan libs from baselibs.conf on platforms
|
# Remove requires to vulkan libs from baselibs.conf on platforms
|
||||||
# where vulkan build is disabled; ugly ...
|
# where vulkan build is disabled; ugly ...
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 14 10:30:57 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- try-to-fix-build-on-ppc64le.patch
|
||||||
|
* trying to fix build on ppc64le (boo#1191569)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 4 20:05:50 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
Mon Oct 4 20:05:50 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
@ -134,6 +134,7 @@ Patch58: u_dep_xcb.patch
|
|||||||
Patch100: U_fix-mpeg1_2-decode-mesa-20.2.patch
|
Patch100: U_fix-mpeg1_2-decode-mesa-20.2.patch
|
||||||
Patch101: U_gallivm-add-new-wrapper-around-Module.patch
|
Patch101: U_gallivm-add-new-wrapper-around-Module.patch
|
||||||
Patch102: U_gallivm-fix-FTBFS-on-i386-with-LLVM-13.patch
|
Patch102: U_gallivm-fix-FTBFS-on-i386-with-LLVM-13.patch
|
||||||
|
Patch200: try-to-fix-build-on-ppc64le.patch
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
@ -769,6 +770,9 @@ rm -rf docs/README.{VMS,WIN32,OS2}
|
|||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
%patch102 -p1
|
%patch102 -p1
|
||||||
|
%ifarch ppc64le
|
||||||
|
%patch200 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
# Remove requires to vulkan libs from baselibs.conf on platforms
|
# Remove requires to vulkan libs from baselibs.conf on platforms
|
||||||
# where vulkan build is disabled; ugly ...
|
# where vulkan build is disabled; ugly ...
|
||||||
|
22
try-to-fix-build-on-ppc64le.patch
Normal file
22
try-to-fix-build-on-ppc64le.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
diff -u -r mesa-21.2.3.orig/src/gallium/drivers/llvmpipe/lp_rast_tri.c mesa-21.2.3/src/gallium/drivers/llvmpipe/lp_rast_tri.c
|
||||||
|
--- mesa-21.2.3.orig/src/gallium/drivers/llvmpipe/lp_rast_tri.c 2021-10-14 12:26:04.058380655 +0200
|
||||||
|
+++ mesa-21.2.3/src/gallium/drivers/llvmpipe/lp_rast_tri.c 2021-10-14 12:27:31.348068610 +0200
|
||||||
|
@@ -465,7 +465,6 @@
|
||||||
|
|
||||||
|
#if defined(_ARCH_PWR8) && UTIL_ARCH_LITTLE_ENDIAN
|
||||||
|
|
||||||
|
-#include <altivec.h>
|
||||||
|
#include "util/u_pwr8.h"
|
||||||
|
|
||||||
|
static inline void
|
||||||
|
diff -u -r mesa-21.2.3.orig/src/gallium/drivers/llvmpipe/lp_setup_tri.c mesa-21.2.3/src/gallium/drivers/llvmpipe/lp_setup_tri.c
|
||||||
|
--- mesa-21.2.3.orig/src/gallium/drivers/llvmpipe/lp_setup_tri.c 2021-10-14 12:26:04.058380655 +0200
|
||||||
|
+++ mesa-21.2.3/src/gallium/drivers/llvmpipe/lp_setup_tri.c 2021-10-14 12:27:14.355740030 +0200
|
||||||
|
@@ -47,7 +47,6 @@
|
||||||
|
#if defined(PIPE_ARCH_SSE)
|
||||||
|
#include <emmintrin.h>
|
||||||
|
#elif defined(_ARCH_PWR8) && UTIL_ARCH_LITTLE_ENDIAN
|
||||||
|
-#include <altivec.h>
|
||||||
|
#include "util/u_pwr8.h"
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user