diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-03-03 21:05:17 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-03-03 21:05:17 +0100 |
commit | 9bd476afc160f9c7f3e2b97d1dbeb9c64ff40681 (patch) | |
tree | 5b336b9ea165d7a0b087f70cc5a5bc38e94cabf0 | |
parent | 4f4a6ad521072b08fa17b6a8a042ef484a4ec268 (diff) |
Remove unused patches
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/files | 1 | ||||
-rw-r--r-- | debian/patches/0100-float-endian-detection.patch | 63 | ||||
-rw-r--r-- | debian/patches/series | 1 |
4 files changed, 3 insertions, 64 deletions
diff --git a/debian/changelog b/debian/changelog index e89315f0..76175b78 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ libunistring (1.2-1) unstable; urgency=medium * debian/copyright: - Add 2024 to myself. - Refresh uploader copyright years. + * Remove unused patches: + - debian/patches/0100-float-endian-detection.patch. -- Jörg Frings-Fürst <debian@jff.email> Sun, 03 Mar 2024 19:47:31 +0100 diff --git a/debian/files b/debian/files new file mode 100644 index 00000000..45bd9caa --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +libunistring_1.2-1_source.buildinfo libs optional diff --git a/debian/patches/0100-float-endian-detection.patch b/debian/patches/0100-float-endian-detection.patch deleted file mode 100644 index d094516e..00000000 --- a/debian/patches/0100-float-endian-detection.patch +++ /dev/null @@ -1,63 +0,0 @@ -Description: Fix detection of floating point endianness - See https://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00104.html -Author: Alan Modra <amodra@gmail.com> -Author: Colin Watson <cjwatson@ubuntu.com> -Forwarded: no -Last-Update: 2013-12-18 - ---- a/tests/test-isnanl.h -+++ b/tests/test-isnanl.h -@@ -24,6 +24,12 @@ - #include "nan.h" - #include "macros.h" - -+#ifdef __FLOAT_WORD_ORDER__ -+# define FLOAT_BIG_ENDIAN (__FLOAT_WORD_ORDER__ != __ORDER_LITTLE_ENDIAN__) -+#else -+# define FLOAT_BIG_ENDIAN (LDBL_EXPBIT0_WORD < NWORDS / 2) -+#endif -+ - int - main () - { -@@ -65,10 +71,10 @@ - # if LDBL_EXPBIT0_BIT > 0 - m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1); - # else -- m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)] -+ m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)] - ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); - # endif -- m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)] -+ m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)] - |= (unsigned int) 1 << LDBL_EXPBIT0_BIT; - ASSERT (isnanl (m.value)); - } ---- a/tests/test-signbit.c -+++ b/tests/test-signbit.c -@@ -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__) -+#else -+# define FLOAT_BIG_ENDIAN (LDBL_EXPBIT0_WORD < NWORDS / 2) -+#endif -+ - static void - test_signbitf () - { -@@ -166,10 +172,10 @@ - # if LDBL_EXPBIT0_BIT > 0 - m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1); - # else -- m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)] -+ m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)] - ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1); - # endif -- m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)] -+ m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)] - |= (unsigned int) 1 << LDBL_EXPBIT0_BIT; - (void) signbit (m.value); - #undef NWORDS diff --git a/debian/patches/series b/debian/patches/series index 0aa4ef9d..b1a229ac 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1 @@ -#0100-float-endian-detection.patch 0700-multiarch-libc.patch |