Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / mesa
Commits:
-
b2867550
by Fabio Pedretti at 2024-02-29T13:28:43+01:00
2 changed files:
Changes:
1 | -From a4f14e7239780b02af8d74669c5458d4b0957d4d Mon Sep 17 00:00:00 2001
|
|
2 | -From: Roland Stigge <stigge@antcom.de>
|
|
3 | -Date: Sun, 2 Mar 2014 19:52:56 +0100
|
|
4 | -Subject: [PATCH] gallium: fix build failure on powerpcspe
|
|
5 | - |
|
6 | -In the case of powerpc, mesa activates some altivec instructions
|
|
7 | -that are unknown on the powerpcspe architecture (see
|
|
8 | -https://wiki.debian.org/PowerPCSPEPort), causing a build failure as the
|
|
9 | -'vand' opcode is not recognized by the assembler.
|
|
10 | - |
|
11 | -This patch fixes this by preventing the PPC-specialcasing in case of
|
|
12 | -powerpcspe (__NO_FPRS__ is only defined there).
|
|
13 | - |
|
14 | -https://bugs.debian.org/695746
|
|
15 | ----
|
|
16 | - src/gallium/include/pipe/p_config.h | 2 ++
|
|
17 | - 1 file changed, 2 insertions(+)
|
|
18 | - |
|
19 | ---- a/src/util/detect_arch.h
|
|
20 | -+++ b/src/util/detect_arch.h
|
|
21 | -@@ -70,12 +70,14 @@
|
|
22 | - #endif
|
|
23 | - #endif
|
|
24 | -
|
|
25 | -+#ifndef __NO_FPRS__
|
|
26 | - #if defined(__ppc__) || defined(__ppc64__) || defined(__PPC__) || defined(__PPC64__)
|
|
27 | - #define DETECT_ARCH_PPC 1
|
|
28 | - #if defined(__ppc64__) || defined(__PPC64__)
|
|
29 | - #define DETECT_ARCH_PPC_64 1
|
|
30 | - #endif
|
|
31 | - #endif
|
|
32 | -+#endif
|
|
33 | -
|
|
34 | - #if defined(__s390x__)
|
|
35 | - #define DETECT_ARCH_S390 1 |
1 | -07_gallium-fix-build-failure-on-powerpcspe.diff
|
|
2 | 1 | path_max.diff
|
3 | 2 | src_glx_dri_common.h.diff
|
4 | 3 | fix-zink-logging.diff |