summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-02-07 03:16:00 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-02-12 01:12:49 +0100
commit40e6223ba49d58c47a58e708b3419795f95ac95c (patch)
treed69b83719167415f4439d706c75bbc0e15c95c1e /app-office/libreoffice
parentsys-fs/e4rat: fix memory corruption (diff)
downloadgentoo-40e6223ba49d58c47a58e708b3419795f95ac95c.tar.gz
gentoo-40e6223ba49d58c47a58e708b3419795f95ac95c.tar.bz2
gentoo-40e6223ba49d58c47a58e708b3419795f95ac95c.zip
app-office/libreoffice: Fix build with glibc-2.24
Gentoo-bug: 604176 Package-Manager: portage-2.3.3
Diffstat (limited to 'app-office/libreoffice')
-rw-r--r--app-office/libreoffice/files/libreoffice-5.2.5.1-glibc-2.24.patch10
-rw-r--r--app-office/libreoffice/libreoffice-5.2.5.1.ebuild3
-rw-r--r--app-office/libreoffice/libreoffice-5.2.9999.ebuild3
-rw-r--r--app-office/libreoffice/libreoffice-5.3.0.3.ebuild3
-rw-r--r--app-office/libreoffice/libreoffice-5.3.9999.ebuild3
-rw-r--r--app-office/libreoffice/libreoffice-9999.ebuild3
6 files changed, 25 insertions, 0 deletions
diff --git a/app-office/libreoffice/files/libreoffice-5.2.5.1-glibc-2.24.patch b/app-office/libreoffice/files/libreoffice-5.2.5.1-glibc-2.24.patch
new file mode 100644
index 000000000000..d714ff2074bc
--- /dev/null
+++ b/app-office/libreoffice/files/libreoffice-5.2.5.1-glibc-2.24.patch
@@ -0,0 +1,10 @@
+--- libreoffice-5.2.5.1.orig/desktop/unx/source/pagein.c 2017-01-11 16:54:33.000000000 -0800
++++ libreoffice-5.2.5.1/desktop/unx/source/pagein.c 2017-02-03 10:22:51.697673613 -0800
+@@ -26,6 +26,7 @@
+ #include <string.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+
+ /* do_pagein */
+ static void do_pagein (const char * filename)
diff --git a/app-office/libreoffice/libreoffice-5.2.5.1.ebuild b/app-office/libreoffice/libreoffice-5.2.5.1.ebuild
index d104014a02ba..4da4a96eb6f7 100644
--- a/app-office/libreoffice/libreoffice-5.2.5.1.ebuild
+++ b/app-office/libreoffice/libreoffice-5.2.5.1.ebuild
@@ -245,6 +245,9 @@ PATCHES=(
# not upstreamable stuff
"${FILESDIR}/${PN}-5.2-system-pyuno.patch"
+
+ # TODO: upstream
+ "${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch"
)
pkg_pretend() {
diff --git a/app-office/libreoffice/libreoffice-5.2.9999.ebuild b/app-office/libreoffice/libreoffice-5.2.9999.ebuild
index d104014a02ba..4da4a96eb6f7 100644
--- a/app-office/libreoffice/libreoffice-5.2.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-5.2.9999.ebuild
@@ -245,6 +245,9 @@ PATCHES=(
# not upstreamable stuff
"${FILESDIR}/${PN}-5.2-system-pyuno.patch"
+
+ # TODO: upstream
+ "${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch"
)
pkg_pretend() {
diff --git a/app-office/libreoffice/libreoffice-5.3.0.3.ebuild b/app-office/libreoffice/libreoffice-5.3.0.3.ebuild
index 66fe06013acc..9dc3f33d8a1e 100644
--- a/app-office/libreoffice/libreoffice-5.3.0.3.ebuild
+++ b/app-office/libreoffice/libreoffice-5.3.0.3.ebuild
@@ -245,6 +245,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
PATCHES=(
# not upstreamable stuff
"${FILESDIR}/${PN}-5.3-system-pyuno.patch"
+
+ # TODO: upstream
+ "${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch"
)
pkg_pretend() {
diff --git a/app-office/libreoffice/libreoffice-5.3.9999.ebuild b/app-office/libreoffice/libreoffice-5.3.9999.ebuild
index b8cd07d14d64..187b52ebe929 100644
--- a/app-office/libreoffice/libreoffice-5.3.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-5.3.9999.ebuild
@@ -244,6 +244,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
PATCHES=(
# not upstreamable stuff
"${FILESDIR}/${PN}-5.3-system-pyuno.patch"
+
+ # TODO: upstream
+ "${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch"
)
pkg_pretend() {
diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild
index e0e9d615e0f8..edc20fcdbb53 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -245,6 +245,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
PATCHES=(
# not upstreamable stuff
"${FILESDIR}/${PN}-5.3-system-pyuno.patch"
+
+ # TODO: upstream
+ "${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch"
)
pkg_pretend() {