aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-04-13 17:05:32 +0200
committerMihai Moldovan <ionic@ionic.de>2017-04-13 17:05:32 +0200
commit680de79fb01d426a449806799c4ebae91239a7fb (patch)
treeec15022cb300b1c08f33d33770aa07593cd2d6aa
parent85b925e3f88823ba432f3f570c9e205f797166d7 (diff)
parentd4941a6a5567fa2bf0eadb85fcdaff61b79e5579 (diff)
downloadnx-libs-680de79fb01d426a449806799c4ebae91239a7fb.tar.gz
nx-libs-680de79fb01d426a449806799c4ebae91239a7fb.tar.bz2
nx-libs-680de79fb01d426a449806799c4ebae91239a7fb.zip
Merge branch 'sunweaver-pr/Mesa-define-USE_IEEE-macro-for-more-platforms' into 3.6.x
Attributes GH PR #428: https://github.com/ArcticaProject/nx-libs/pull/428
-rw-r--r--nx-X11/extras/Mesa.patches/4002_define-USE_IEEE-macro-for-more-platforms.patch16
-rw-r--r--nx-X11/extras/Mesa.patches/series1
2 files changed, 17 insertions, 0 deletions
diff --git a/nx-X11/extras/Mesa.patches/4002_define-USE_IEEE-macro-for-more-platforms.patch b/nx-X11/extras/Mesa.patches/4002_define-USE_IEEE-macro-for-more-platforms.patch
new file mode 100644
index 000000000..7db909b91
--- /dev/null
+++ b/nx-X11/extras/Mesa.patches/4002_define-USE_IEEE-macro-for-more-platforms.patch
@@ -0,0 +1,16 @@
+Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+Description: define USE_IEEE for __aarch64__ and __mc68000__, as well
+
+Index: Mesa/src/mesa/main/imports.h
+===================================================================
+--- Mesa.orig/src/mesa/main/imports.h
++++ Mesa/src/mesa/main/imports.h
+@@ -204,6 +204,8 @@ typedef union { GLfloat f; GLint i; } fi
+ defined(ia64) || defined(__ia64__) || \
+ defined(__mips) || defined(_MIPS_ARCH) || \
+ defined(__arm__) || \
++ defined(__aarch64__) || \
++ defined(__mc68000__) || \
+ defined(__sh__) || \
+ (defined(__alpha__) && (defined(__IEEE_FLOAT) || !defined(VMS)))
+ #define USE_IEEE
diff --git a/nx-X11/extras/Mesa.patches/series b/nx-X11/extras/Mesa.patches/series
index 2ddad71d6..8dd25b553 100644
--- a/nx-X11/extras/Mesa.patches/series
+++ b/nx-X11/extras/Mesa.patches/series
@@ -1 +1,2 @@
4001_CreatePixmap-AllocationHints.patch
+4002_define-USE_IEEE-macro-for-more-platforms.patch