app-office/libreoffice: Fix build with glibc-2.24
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 7 Feb 2017 02:16:00 +0000 (03:16 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 12 Feb 2017 00:12:49 +0000 (01:12 +0100)
Gentoo-bug: 604176

Package-Manager: portage-2.3.3

app-office/libreoffice/files/libreoffice-5.2.5.1-glibc-2.24.patch [new file with mode: 0644]
app-office/libreoffice/libreoffice-5.2.5.1.ebuild
app-office/libreoffice/libreoffice-5.2.9999.ebuild
app-office/libreoffice/libreoffice-5.3.0.3.ebuild
app-office/libreoffice/libreoffice-5.3.9999.ebuild
app-office/libreoffice/libreoffice-9999.ebuild

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 (file)
index 0000000..d714ff2
--- /dev/null
@@ -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)
index d104014a02ba90e45d5ebcdf1204813a693f44ea..4da4a96eb6f7bfc18061e0b03b0cce697831d023 100644 (file)
@@ -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() {
index d104014a02ba90e45d5ebcdf1204813a693f44ea..4da4a96eb6f7bfc18061e0b03b0cce697831d023 100644 (file)
@@ -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() {
index 66fe06013accddaa7e9909794bf72d396c0333b3..9dc3f33d8a1e8e1002bc268578d7f92c026d5998 100644 (file)
@@ -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() {
index b8cd07d14d643e159eb8d0fd5c6ccef6b078e8e4..187b52ebe929339960cac79ceb84f99b50a95ec2 100644 (file)
@@ -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() {
index e0e9d615e0f885eacd192540c3bd0a1a3fe1fbea..edc20fcdbb5395962665dd0eadcb5c6896db3bcc 100644 (file)
@@ -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() {