diff options
author | Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> | 2016-05-26 16:59:28 +0100 |
---|---|---|
committer | Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> | 2016-05-26 16:59:28 +0100 |
commit | d08a9a27a03e741edf644d17ce8a1f35cd4d545d (patch) | |
tree | f883346fbcffbf0c576c95791753b8ef0c86673b /debian/patches/float-endian-detection.patch | |
parent | 9b7a3ebae82268d9043597d524b2e9d14484c65e (diff) |
debian/patches: refresh for new upstream version
Diffstat (limited to 'debian/patches/float-endian-detection.patch')
-rw-r--r-- | debian/patches/float-endian-detection.patch | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/debian/patches/float-endian-detection.patch b/debian/patches/float-endian-detection.patch index 66bed0de..d094516e 100644 --- a/debian/patches/float-endian-detection.patch +++ b/debian/patches/float-endian-detection.patch @@ -5,13 +5,11 @@ Author: Colin Watson <cjwatson@ubuntu.com> Forwarded: no Last-Update: 2013-12-18 -Index: b/tests/test-isnanl.h -=================================================================== --- a/tests/test-isnanl.h +++ b/tests/test-isnanl.h -@@ -38,6 +38,12 @@ - long double minus_zero = -0.0L; - #endif +@@ -24,6 +24,12 @@ + #include "nan.h" + #include "macros.h" +#ifdef __FLOAT_WORD_ORDER__ +# define FLOAT_BIG_ENDIAN (__FLOAT_WORD_ORDER__ != __ORDER_LITTLE_ENDIAN__) @@ -22,7 +20,7 @@ Index: b/tests/test-isnanl.h int main () { -@@ -70,10 +76,10 @@ +@@ -65,10 +71,10 @@ # if LDBL_EXPBIT0_BIT > 0 m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1); # else @@ -35,13 +33,11 @@ Index: b/tests/test-isnanl.h |= (unsigned int) 1 << LDBL_EXPBIT0_BIT; ASSERT (isnanl (m.value)); } -Index: b/tests/test-signbit.c -=================================================================== --- a/tests/test-signbit.c +++ b/tests/test-signbit.c -@@ -56,6 +56,12 @@ - long double minus_zerol = -0.0L; - #endif +@@ -36,6 +36,12 @@ + double zerod = 0.0; + long double zerol = 0.0L; +#ifdef __FLOAT_WORD_ORDER__ +# define FLOAT_BIG_ENDIAN (__FLOAT_WORD_ORDER__ != __ORDER_LITTLE_ENDIAN__) @@ -52,7 +48,7 @@ Index: b/tests/test-signbit.c static void test_signbitf () { -@@ -176,10 +182,10 @@ +@@ -166,10 +172,10 @@ # if LDBL_EXPBIT0_BIT > 0 m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1); # else |