summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-04-26 19:12:25 +0200
committerJörg Frings-Fürst <debian@jff.email>2021-04-26 19:12:25 +0200
commitec42490fe28b9478e3a4e6064d23033c10d2258e (patch)
tree4201518a0d12923d218ee545ab196d21e6b3fd23
parent771363297964f22253f7a3bba4cb62ef5a602f40 (diff)
Fix #987609
-rw-r--r--debian/changelog7
-rw-r--r--debian/patches/0005-fix_build_musl.patch21
-rw-r--r--debian/patches/series1
3 files changed, 29 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 61290489..d0de4180 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 <helmut@subdivi.de>).
+
+ -- Jörg Frings-Fürst <debian@jff.email> 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 00000000..6c0c0a2f
--- /dev/null
+++ b/debian/patches/0005-fix_build_musl.patch
@@ -0,0 +1,21 @@
+Description: Fix build for musl
+Author: Helmut Grohne <helmut@subdivi.de>
+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 496de810..746190bd 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