summaryrefslogtreecommitdiff
path: root/legacy/libreoffice/linux-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/libreoffice/linux-musl.patch')
-rw-r--r--legacy/libreoffice/linux-musl.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/legacy/libreoffice/linux-musl.patch b/legacy/libreoffice/linux-musl.patch
new file mode 100644
index 000000000..2641620cb
--- /dev/null
+++ b/legacy/libreoffice/linux-musl.patch
@@ -0,0 +1,42 @@
+--- libreoffice-6.4.0.3/configure.ac 2020-01-22 23:14:16.000000000 +0000
++++ libreoffice-6.4.0.3/configure.ac 2020-02-04 04:09:34.970114523 +0000
+@@ -612,7 +612,7 @@ solaris*)
+ fi
+ ;;
+
+-linux-gnu*|k*bsd*-gnu*)
++linux-gnu*|linux-musl*|k*bsd*-gnu*)
+ build_gstreamer_1_0=yes
+ test_kf5=yes
+ test_gtk3_kde5=yes
+@@ -4341,7 +4341,7 @@ kfreebsd*)
+ esac
+ ;;
+
+-linux-gnu*)
++linux-gnu*|linux-musl*)
+ COM=GCC
+ USING_X11=TRUE
+ OS=LINUX
+@@ -10232,21 +10232,6 @@ AC_SUBST(SYSTEM_LIBNUMBERTEXT_DATA)
+ AC_SUBST(ENABLE_LIBNUMBERTEXT)
+ AC_SUBST(LIBNUMBERTEXT_CFLAGS)
+
+-dnl ***************************************
+-dnl testing libc version for Linux...
+-dnl ***************************************
+-if test "$_os" = "Linux"; then
+- AC_MSG_CHECKING([whether libc is >= 2.1.1])
+- exec 6>/dev/null # no output
+- AC_CHECK_LIB(c, gnu_get_libc_version, HAVE_LIBC=yes; export HAVE_LIBC)
+- exec 6>&1 # output on again
+- if test "$HAVE_LIBC"; then
+- AC_MSG_RESULT([yes])
+- else
+- AC_MSG_ERROR([no, upgrade libc])
+- fi
+-fi
+-
+ dnl =========================================
+ dnl Check for uuidgen
+ dnl =========================================