gnu: perl-net-ssleay: Update to 1.85.
[jackhill/guix/guix.git] / gnu / packages / patches / libtirpc-missing-headers.patch
CommitLineData
e5227712
LF
1Fix compilation failure with glibc 2.26 caused by missing type
2declarations:
3
4------
5xdr_sizeof.c: In function ‘x_inline’:
6xdr_sizeof.c:93:13: error: ‘uintptr_t’ undeclared (first use in this function)
7 if (len < (uintptr_t)xdrs->x_base) {
8------
9
10Patch copied from upstream source repository:
11
12http://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=acb9a37977cf0a9630eac74af9adebf35e38e719
13
14From acb9a37977cf0a9630eac74af9adebf35e38e719 Mon Sep 17 00:00:00 2001
15From: Thorsten Kukuk <kukuk@thkukuk.de>
16Date: Tue, 14 Nov 2017 10:39:08 -0500
17Subject: [PATCH] Include stdint.h from xdr_sizeof.c to avoid missing
18 declaration errors.
19
20Signed-off-by: Thorsten Kukuk <kukuk@suse.de>
21Signed-off-by: Steve Dickson <steved@redhat.com>
22---
23 src/xdr_sizeof.c | 1 +
24 1 file changed, 1 insertion(+)
25
26diff --git a/src/xdr_sizeof.c b/src/xdr_sizeof.c
27index d23fbd1..79d6707 100644
28--- a/src/xdr_sizeof.c
29+++ b/src/xdr_sizeof.c
30@@ -39,6 +39,7 @@
31 #include <rpc/xdr.h>
32 #include <sys/types.h>
33 #include <stdlib.h>
34+#include <stdint.h>
35 #include "un-namespace.h"
36
37 /* ARGSUSED */
38--
391.8.3.1
40