[pkg-remote-commits] [nx-libs] 02/03: debian/patches: Add 0004_define-USE_IEEE-macro-for-more-platforms.patch. Fix FTBFS on aarch64 and m68k.

Mike Gabriel sunweaver at debian.org
Thu Apr 13 12:22:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository nx-libs.

commit b837c2c1256a123bc472c3d427f3ce5e71a9f2a8
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Apr 13 14:15:29 2017 +0200

    debian/patches: Add 0004_define-USE_IEEE-macro-for-more-platforms.patch. Fix FTBFS on aarch64 and m68k.
---
 .../0005_define-USE_IEEE-macro-for-more-platforms.patch  | 16 ++++++++++++++++
 debian/patches/series                                    |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/0005_define-USE_IEEE-macro-for-more-platforms.patch b/debian/patches/0005_define-USE_IEEE-macro-for-more-platforms.patch
new file mode 100644
index 0000000..67932d7
--- /dev/null
+++ b/debian/patches/0005_define-USE_IEEE-macro-for-more-platforms.patch
@@ -0,0 +1,16 @@
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+Description: define USE_IEEE for __aarch64__ and __mc68000__, as well
+
+Index: nx-X11/extras/Mesa/src/mesa/main/imports.h
+===================================================================
+--- a/nx-X11/extras/Mesa/src/mesa/main/imports.h
++++ b/nx-X11/extras/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/debian/patches/series b/debian/patches/series
index 886dae5..7a95108 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,5 +2,6 @@
 0002_fix-ftbfs-on-sparc64.patch
 0003_define-EBADFD-if-undefined.patch
 0004_nx-X11-gnu-hurd-support.patch
+0005_define-USE_IEEE-macro-for-more-platforms.patch
 2001_nx-X11_install-location.debian.patch
 2002_xserver-xext_set-securitypolicy-path.debian.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/nx-libs.git



More information about the pkg-remote-commits mailing list