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

Bug#749172: mesa: Add support for the OpenRISC architecture (or1k)



Package: mesa
Version: 10.1.2
Severity: wishlist
Tags: upstream patch

Dear Maintainer,

This trivial patch adds support for or1k.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -ur mesa-10.1.2.orig/src/mesa/main/compiler.h mesa-10.1.2/src/mesa/main/compiler.h
--- mesa-10.1.2.orig/src/mesa/main/compiler.h	2014-05-24 15:28:50.770131989 +0200
+++ mesa-10.1.2/src/mesa/main/compiler.h	2014-05-24 15:28:54.838152937 +0200
@@ -329,7 +329,7 @@
     defined(__arm__) || defined(__aarch64__) || \
     defined(__sh__) || defined(__m32r__) || \
     (defined(__sun) && defined(_IEEE_754)) || \
-    defined(__alpha__)
+    defined(__alpha__) || defined(__or1k__)
 #define USE_IEEE
 #define IEEE_ONE 0x3f800000
 #endif
Binary files mesa-10.1.2.orig/src/mesa/main/.compiler.h.swp and mesa-10.1.2/src/mesa/main/.compiler.h.swp differ

Reply to: