diff options
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/patches/float-endian-detection.patch | 20 |
2 files changed, 9 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog index 33113f7..6e19693 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ libunistring (0.9.6-1.1) UNRELEASED; urgency=medium * Non-maintainer upload. * New upstream release. (Closes: #804064) + * debian/patches: refresh for new upstream version -- Manuel A. Fernandez Montecelo <mafm@debian.org> Thu, 26 May 2016 16:42:36 +0100 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 |