[higan] 01/01: Disable check for size of long double.
Tobias Hansen
thansen at moszumanska.debian.org
Tue Jun 28 10:41:52 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository higan.
commit 2c7a0ae52de03e4ad2b13a91a93c68c208d23380
Author: Tobias Hansen <thansen at debian.org>
Date: Tue Jun 28 11:18:07 2016 +0100
Disable check for size of long double.
---
debian/changelog | 6 ++++--
debian/patches/disable_long_double_size_check.patch | 15 +++++++++++++++
debian/patches/series | 1 +
3 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7c12ba9..f9c0a6f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,11 @@
-higan (098-2) UNRELEASED; urgency=medium
+higan (098-2) unstable; urgency=medium
+ * Disable check for the size of long double to
+ fix build on armel, armhf, mips and mipsel.
* New patch to fix build on kfreebsd:
- disable-alsa-on-non-linux.patch
- -- Tobias Hansen <thansen at debian.org> Sun, 26 Jun 2016 15:53:21 +0100
+ -- Tobias Hansen <thansen at debian.org> Tue, 28 Jun 2016 11:16:28 +0100
higan (098-1) unstable; urgency=medium
diff --git a/debian/patches/disable_long_double_size_check.patch b/debian/patches/disable_long_double_size_check.patch
new file mode 100644
index 0000000..6a016db
--- /dev/null
+++ b/debian/patches/disable_long_double_size_check.patch
@@ -0,0 +1,15 @@
+Description: Disable a check for the size of long double
+ This check fails on armel, armhf, mips and mipsel,
+ where sizeof(long double) == 8.
+Author: Tobias Hansen <thansen at debian.org>
+
+--- a/nall/stdint.hpp
++++ b/nall/stdint.hpp
+@@ -47,7 +47,6 @@
+
+ static_assert(sizeof(float) >= 4, "float32_t is not of the correct size");
+ static_assert(sizeof(double) >= 8, "float64_t is not of the correct size");
+-static_assert(sizeof(long double) >= 10, "float80_t is not of the correct size");
+
+ using intmax = intmax_t;
+ using intptr = intptr_t;
diff --git a/debian/patches/series b/debian/patches/series
index 63b29bc..cd82a04 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ ignore_manifests_by_default.patch
create_config.patch
include_cmath.patch
disable-alsa-on-non-linux.patch
+disable_long_double_size_check.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/higan.git
More information about the Pkg-games-commits
mailing list