summaryrefslogtreecommitdiff
path: root/legacy/libreoffice/linux-musl.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-11-25 19:29:48 -0600
committerZach van Rijn <me@zv.io>2022-11-25 20:02:32 -0600
commitd7e5a71711acc59d51324fd29340e00b720ba625 (patch)
treec820d9dcf99598f59fc86e07182de201fb704ab6 /legacy/libreoffice/linux-musl.patch
parentb5aeea18b753bd91d3967a23d3e65478733da3cc (diff)
downloadpackages-d7e5a71711acc59d51324fd29340e00b720ba625.tar.gz
packages-d7e5a71711acc59d51324fd29340e00b720ba625.tar.bz2
packages-d7e5a71711acc59d51324fd29340e00b720ba625.tar.xz
packages-d7e5a71711acc59d51324fd29340e00b720ba625.zip
user/libreoffice: Move to legacy/
We have decided to not ship LO for RC3 in its current form; bumping it to the latest version will require significant effort to bump Skia, which will be done post-RC3.
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 =========================================