[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mesa: Changes to 'debian-experimental'



 debian/changelog                                               |    2 
 debian/patches/07_gallium-fix-build-failure-on-powerpcspe.diff |   40 ++++++++++
 debian/patches/series                                          |    1 
 3 files changed, 43 insertions(+)

New commits:
commit 752d29f1eef8733c69b515bd5fcbf9acf0d75767
Author: Julien Cristau <jcristau@debian.org>
Date:   Sun Mar 2 20:03:49 2014 +0100

    gallium: fix build failure on powerpcspe (closes: #695746).
    
    Thanks, Roland Stigge!

diff --git a/debian/changelog b/debian/changelog
index a5286a9..39ea647 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ mesa (10.1.0~rc2-1) UNRELEASED; urgency=medium
   * libgbm1.symbols: try to avoid listing private symbols.
   * Enable radeon/r200/r300/r600/radeonsi on kfreebsd (closes: #732337).
     Thanks, Robert Millan!
+  * gallium: fix build failure on powerpcspe (closes: #695746).  Thanks, Roland
+    Stigge!
 
  -- Maarten Lankhorst <maarten.lankhorst@ubuntu.com>  Thu, 20 Feb 2014 19:12:12 +0100
 
diff --git a/debian/patches/07_gallium-fix-build-failure-on-powerpcspe.diff b/debian/patches/07_gallium-fix-build-failure-on-powerpcspe.diff
new file mode 100644
index 0000000..f404454
--- /dev/null
+++ b/debian/patches/07_gallium-fix-build-failure-on-powerpcspe.diff
@@ -0,0 +1,40 @@
+From a4f14e7239780b02af8d74669c5458d4b0957d4d Mon Sep 17 00:00:00 2001
+From: Roland Stigge <stigge@antcom.de>
+Date: Sun, 2 Mar 2014 19:52:56 +0100
+Subject: [PATCH] gallium: fix build failure on powerpcspe
+
+In the case of powerpc, mesa activates some altivec instructions
+that are unknown on the powerpcspe architecture (see
+https://wiki.debian.org/PowerPCSPEPort), causing a build failure as the
+'vand' opcode is not recognized by the assembler.
+
+This patch fixes this by preventing the PPC-specialcasing in case of
+powerpcspe (__NO_FPRS__ is only defined there).
+
+https://bugs.debian.org/695746
+---
+ src/gallium/include/pipe/p_config.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h
+index d603681..8189a73 100644
+--- a/src/gallium/include/pipe/p_config.h
++++ b/src/gallium/include/pipe/p_config.h
+@@ -107,12 +107,14 @@
+ #endif
+ #endif
+ 
++#ifndef __NO_FPRS__
+ #if defined(__ppc__) || defined(__ppc64__) || defined(__PPC__)
+ #define PIPE_ARCH_PPC
+ #if defined(__ppc64__) || defined(__PPC64__)
+ #define PIPE_ARCH_PPC_64
+ #endif
+ #endif
++#endif
+ 
+ #if defined(__s390x__)
+ #define PIPE_ARCH_S390
+-- 
+1.9.0
+
diff --git a/debian/patches/series b/debian/patches/series
index 5da44f2..f3bc8f1d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 04_osmesa_version.diff
 05_fix-defaults-glxfbconfig.patch
 06_fix-sort-glxfbconfig.patch
+07_gallium-fix-build-failure-on-powerpcspe.diff


Reply to: