summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorManuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>2016-05-27 14:40:49 +0100
committerManuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>2016-05-27 14:40:49 +0100
commitd120e0fc9cee445c2d0931ddb8cf9a8d59eb3011 (patch)
tree2a20dfe1fd054792eb17946598a1bee29be9e0e1 /debian/patches
parentc1c3e672f8577f6773219d888c3e2b279b4af876 (diff)
debian/patches: refresh for new upstream version
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/float-endian-detection.patch20
1 files changed, 8 insertions, 12 deletions
diff --git a/debian/patches/float-endian-detection.patch b/debian/patches/float-endian-detection.patch
index 66bed0d..d094516 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