aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/Mesa.patches_6.4.2/4004_define-USE_IEEE-macro-for-more-platforms.patch
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-27 19:15:53 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-27 19:15:53 +0200
commite2d72b599a413e41ba2bcd3963c213f47478acff (patch)
tree5cc5047b3dd53c2b61157b58800558029e4b1fa4 /nx-X11/extras/Mesa.patches_6.4.2/4004_define-USE_IEEE-macro-for-more-platforms.patch
parent3dcdea4dd0bc8ed0c36076be6ed32c494c58d1f8 (diff)
downloadnx-libs-e2d72b599a413e41ba2bcd3963c213f47478acff.tar.gz
nx-libs-e2d72b599a413e41ba2bcd3963c213f47478acff.tar.bz2
nx-libs-e2d72b599a413e41ba2bcd3963c213f47478acff.zip
Mesa.patches: Have Mesa.patches_6.4.2 rather as a copy than as a symlink to Mesa.patches_6.4.1. Rebase 4004_define-USE_IEEE-macro-for-more-platforms.patch against Mesa 6.4.2 while being at it.
Diffstat (limited to 'nx-X11/extras/Mesa.patches_6.4.2/4004_define-USE_IEEE-macro-for-more-platforms.patch')
-rw-r--r--nx-X11/extras/Mesa.patches_6.4.2/4004_define-USE_IEEE-macro-for-more-platforms.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/nx-X11/extras/Mesa.patches_6.4.2/4004_define-USE_IEEE-macro-for-more-platforms.patch b/nx-X11/extras/Mesa.patches_6.4.2/4004_define-USE_IEEE-macro-for-more-platforms.patch
new file mode 100644
index 000000000..dff159976
--- /dev/null
+++ b/nx-X11/extras/Mesa.patches_6.4.2/4004_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
+@@ -205,6 +205,8 @@ typedef union { GLfloat f; GLint i; } fi
+ defined(__hppa__) || defined(hpux) || \
+ defined(__mips) || defined(_MIPS_ARCH) || \
+ defined(__arm__) || \
++ defined(__aarch64__) || \
++ defined(__mc68000__) || \
+ defined(__sh__) || \
+ (defined(__alpha__) && (defined(__IEEE_FLOAT) || !defined(VMS)))
+ #define USE_IEEE