From ec42490fe28b9478e3a4e6064d23033c10d2258e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 26 Apr 2021 19:12:25 +0200 Subject: Fix #987609 --- debian/changelog | 7 +++++++ debian/patches/0005-fix_build_musl.patch | 21 +++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 29 insertions(+) create mode 100644 debian/patches/0005-fix_build_musl.patch diff --git a/debian/changelog b/debian/changelog index 6129048..d0de418 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +libunistring (0.9.10-5) UNRELEASED; urgency=medium + + * New debian/patches/0005-fix_build_musl.patch (Closes: #987609): + - Fix build on musl (Thanks to Helmut Grohne ). + + -- Jörg Frings-Fürst Mon, 26 Apr 2021 18:41:51 +0200 + libunistring (0.9.10-4) unstable; urgency=high * Fix ftbfs with dh_missing (Closes: #961960). diff --git a/debian/patches/0005-fix_build_musl.patch b/debian/patches/0005-fix_build_musl.patch new file mode 100644 index 0000000..6c0c0a2 --- /dev/null +++ b/debian/patches/0005-fix_build_musl.patch @@ -0,0 +1,21 @@ +Description: Fix build for musl +Author: Helmut Grohne +Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987609 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987609 +Forwarded: not-needed +Last-Update: 2021-04-26 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/lib/Makefile.gnulib +=================================================================== +--- trunk.orig/lib/Makefile.gnulib ++++ trunk/lib/Makefile.gnulib +@@ -461,7 +461,7 @@ install-exec-localcharset: all-local + case '$(host_os)' in \ + darwin[56]*) \ + need_charset_alias=true ;; \ +- darwin* | cygwin* | mingw* | pw32* | cegcc*) \ ++ darwin* | cygwin* | mingw* | pw32* | cegcc* | linux-musl*) \ + need_charset_alias=false ;; \ + *) \ + need_charset_alias=true ;; \ diff --git a/debian/patches/series b/debian/patches/series index 496de81..746190b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ +0005-fix_build_musl.patch 0100-float-endian-detection.patch 0700-multiarch-libc.patch 0705-gcc-9.patch -- cgit v1.2.3