summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-05 22:22:27 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-09-05 22:24:58 +0200
commita3ac427cc5cd7c20ba2593aac8413dd6c27ede56 (patch)
tree43da21dcde45d9fe3459774e4b277b8b89bb72c1 /net-libs/libtirpc
parentapp-editors/vile: use https for HOMEPAGE (diff)
downloadgentoo-a3ac427cc5cd7c20ba2593aac8413dd6c27ede56.tar.gz
gentoo-a3ac427cc5cd7c20ba2593aac8413dd6c27ede56.tar.bz2
gentoo-a3ac427cc5cd7c20ba2593aac8413dd6c27ede56.zip
net-libs/libtirpc: Add build fix for glibc-2.26, see bug 628752
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'net-libs/libtirpc')
-rw-r--r--net-libs/libtirpc/files/libtirpc-1.0.2-glibc-2.26.patch12
-rw-r--r--net-libs/libtirpc/libtirpc-1.0.2.ebuild1
2 files changed, 13 insertions, 0 deletions
diff --git a/net-libs/libtirpc/files/libtirpc-1.0.2-glibc-2.26.patch b/net-libs/libtirpc/files/libtirpc-1.0.2-glibc-2.26.patch
new file mode 100644
index 000000000000..6d583e6149d0
--- /dev/null
+++ b/net-libs/libtirpc/files/libtirpc-1.0.2-glibc-2.26.patch
@@ -0,0 +1,12 @@
+diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c
+index d23fbd1..79d6707 100644
+--- a/src/xdr_sizeof.c
++++ b/src/xdr_sizeof.c
+@@ -39,6 +39,7 @@
+ #include <rpc/xdr.h>
+ #include <sys/types.h>
+ #include <stdlib.h>
++#include <stdint.h>
+ #include "un-namespace.h"
+
+ /* ARGSUSED */
diff --git a/net-libs/libtirpc/libtirpc-1.0.2.ebuild b/net-libs/libtirpc/libtirpc-1.0.2.ebuild
index 8aa9a82f54c3..5ca806450953 100644
--- a/net-libs/libtirpc/libtirpc-1.0.2.ebuild
+++ b/net-libs/libtirpc/libtirpc-1.0.2.ebuild
@@ -23,6 +23,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-1.0.2-bcopy-to-memmove.patch"
"${FILESDIR}/${PN}-1.0.2-bzero-to-memset.patch"
+ "${FILESDIR}/${PN}-1.0.2-glibc-2.26.patch"
)
src_prepare() {