summaryrefslogtreecommitdiffstats
path: root/patches/libtirpc-1.0.2
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-10-01 07:59:46 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-10-01 11:11:41 +0200
commit0ac955b1cfc1a29afc74522452ae5d98a3765948 (patch)
tree656f056721ea7b77c065663bc77fac4bbec841c1 /patches/libtirpc-1.0.2
parent61acb5ba2c1f1e4d7d7c93f15f25ab93e597b225 (diff)
downloadptxdist-0ac955b1cfc1a29afc74522452ae5d98a3765948.tar.gz
ptxdist-0ac955b1cfc1a29afc74522452ae5d98a3765948.tar.xz
libtirpc: version bump 1.0.1 -> 1.0.2
This fixes building with gcc-7.x Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/libtirpc-1.0.2')
-rw-r--r--patches/libtirpc-1.0.2/0001-fix-build-error-with-gcc-7.x.patch29
-rw-r--r--patches/libtirpc-1.0.2/series4
2 files changed, 33 insertions, 0 deletions
diff --git a/patches/libtirpc-1.0.2/0001-fix-build-error-with-gcc-7.x.patch b/patches/libtirpc-1.0.2/0001-fix-build-error-with-gcc-7.x.patch
new file mode 100644
index 000000000..7bdc753fd
--- /dev/null
+++ b/patches/libtirpc-1.0.2/0001-fix-build-error-with-gcc-7.x.patch
@@ -0,0 +1,29 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Sun, 1 Oct 2017 07:54:45 +0200
+Subject: [PATCH] fix build error with gcc-7.x
+
+Without this, building fails with:
+
+xdr_sizeof.c: In function 'x_inline':
+xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared (first use in this function); did you mean '__intptr_t'?
+xdr_sizeof.c:93:13: note: each undeclared identifier is reported only once for each function it appears in
+xdr_sizeof.c:93:23: error: expected ')' before 'xdrs'
+xdr_sizeof.c:105:38: error: expected ';' before 'len'
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ src/xdr_sizeof.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c
+index d23fbd141c1e..79d6707d0017 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/patches/libtirpc-1.0.2/series b/patches/libtirpc-1.0.2/series
new file mode 100644
index 000000000..a6b84d40b
--- /dev/null
+++ b/patches/libtirpc-1.0.2/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-fix-build-error-with-gcc-7.x.patch
+# bd0106698ce4d8f10e767296ffd707c8 - git-ptx-patches magic