summaryrefslogtreecommitdiffstats
path: root/main/alpine/uclibc-musl.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-18 09:40:30 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-18 09:40:30 +0000
commitec56c6104f84980b4387dd935c47ca94cdd468c8 (patch)
tree48826f7d9ea2e8d206c82ecc48bdeedaa2520719 /main/alpine/uclibc-musl.patch
parentbd92489c71902e3b41c595e7aa5a765454d298b0 (diff)
downloadaports-ec56c6104f84980b4387dd935c47ca94cdd468c8.tar.bz2
aports-ec56c6104f84980b4387dd935c47ca94cdd468c8.tar.xz
main/alpine: fix musl build
Diffstat (limited to 'main/alpine/uclibc-musl.patch')
-rw-r--r--main/alpine/uclibc-musl.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/alpine/uclibc-musl.patch b/main/alpine/uclibc-musl.patch
new file mode 100644
index 000000000..ba5122f5b
--- /dev/null
+++ b/main/alpine/uclibc-musl.patch
@@ -0,0 +1,20 @@
+--- ./configure.ac.orig 2013-08-14 09:23:19.968703427 +0000
++++ ./configure.ac 2013-08-14 09:24:02.892913484 +0000
+@@ -597,7 +597,7 @@
+ else
+ dnl preload c-client default locations/options
+ case $host in
+- *-linux-gnu)
++ *-linux-gnu|*-linux-uclibc|*-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
+@@ -1271,7 +1271,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*)
++ *-linux-gnu*|*-k*bsd*-gnu*|*-linux-uclibc|*-linux-musl*)
+ alpine_path_delim="/"
+ alpine_mode_readonly="(0600)"
+ if test -f /etc/fedora-release ; then