summaryrefslogtreecommitdiff
path: root/user/alpine/support-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/alpine/support-musl.patch')
-rw-r--r--user/alpine/support-musl.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/alpine/support-musl.patch b/user/alpine/support-musl.patch
new file mode 100644
index 000000000..ab3c2d857
--- /dev/null
+++ b/user/alpine/support-musl.patch
@@ -0,0 +1,20 @@
+--- ./configure.ac.orig
++++ ./configure.ac
+@@ -723,7 +723,7 @@
+ else
+ dnl preload c-client default locations/options
+ case $host in
+- *-linux-gnu*|*-k*bsd*-gnu*|*-gnu*)
++ *-linux-gnu*|*-k*bsd*-gnu*|*-gnu*|*-linux-musl*)
+ if test -f /etc/fedora-release -o -f /etc/redhat-release -o -f /etc/redhat_version ; then
+ alpine_SSLTYPE="nopwd"
+ if test -d /etc/pki/tls ; then
+@@ -1059,7 +1059,7 @@
+ dnl build from c-client. Most of this will go away when c-client
+ dnl adopts configure
+ case "$host" in
+- *-linux-gnu*|*-k*bsd*-gnu*|*-gnu*)
++ *-linux-gnu*|*-k*bsd*-gnu*|*-gnu*|*-linux-musl*)
+ alpine_path_delim="/"
+ alpine_mode_readonly="(0600)"
+ if test -f /etc/fedora-release ; then