tlibacl: patch for musl - distro - linux distribution experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 8bb65de5c725ee648ecbdaf54180ad3c7bbbcaa3
(DIR) parent e9e9bf919bc04839a060deb16cae165d65e01a2a
(HTM) Author: z3bra <contactatz3bradotorg>
Date: Mon, 29 Oct 2018 17:31:58 +0100
libacl: patch for musl
Diffstat:
A pkg/libacl/patches/config.sub-musl… | 21 +++++++++++++++++++++
A pkg/libacl/patches/fix-buildmacros… | 13 +++++++++++++
2 files changed, 34 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/pkg/libacl/patches/config.sub-musl.diff b/pkg/libacl/patches/config.sub-musl.diff
t@@ -0,0 +1,21 @@
+diff -urN a/config.sub b/config.sub
+--- a/config.sub 2013-05-19 07:51:14.000000000 +0200
++++ b/config.sub 2016-11-30 08:43:18.811577351 +0100
+@@ -122,7 +122,7 @@
+ # Here we must recognize all the valid KERNEL-OS combinations.
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+- nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
++ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | linux-musl* | \
+ linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+ knetbsd*-gnu* | netbsd*-gnu* | \
+ kopensolaris*-gnu* | \
+@@ -1360,7 +1360,7 @@
+ | -chorusos* | -chorusrdb* | -cegcc* \
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -mingw32* | -linux-gnu* | -linux-android* \
+- | -linux-newlib* | -linux-uclibc* \
++ | -linux-newlib* | -linux-uclibc* | -linux-musl* \
+ | -uxpv* | -beos* | -mpeix* | -udk* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
(DIR) diff --git a/pkg/libacl/patches/fix-buildmacros-static.diff b/pkg/libacl/patches/fix-buildmacros-static.diff
t@@ -0,0 +1,13 @@
+diff -urN a/include/buildmacros b/include/buildmacros
+--- a/include/buildmacros 2013-05-19 07:07:22.000000000 +0200
++++ b/include/buildmacros 2016-10-24 08:51:19.334082460 +0200
+@@ -97,7 +97,8 @@
+
+ INSTALL_LTLIB_STATIC = \
+ cd $(TOPDIR)/$(LIBNAME)/.libs; \
+- ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR);
++ ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \
++ ../$(INSTALL) -m 644 $(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a;
+
+ INSTALL_MAN = \
+ @for d in $(MAN_PAGES); do \