summaryrefslogtreecommitdiffstats
path: root/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch')
-rw-r--r--debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch b/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch
new file mode 100644
index 00000000000..2ca05adb61f
--- /dev/null
+++ b/debian/patches/02_use-ieee-fp-on-s390-and-m64k.patch
@@ -0,0 +1,10 @@
+--- a/src/mesa/main/imports.h
++++ b/src/mesa/main/imports.h
+@@ -153,6 +153,7 @@
+ defined(__mips) || defined(_MIPS_ARCH) || \
+ defined(__arm__) || \
+ defined(__sh__) || defined(__m32r__) || \
++ defined(__m68k__) || defined(__s390__) || \
+ (defined(__alpha__) && (defined(__IEEE_FLOAT) || !defined(VMS)))
+ #define USE_IEEE
+ #define IEEE_ONE 0x3f800000