Skip to contentSkip to conversation

nfs-utils: add missing include of stdint

PATCH New Matt Weber 2 participants 2 messages Oct 2, 2017 – Oct 3, 2017

lore
Share & tools
lore

Matt Weber

author
#0 lore raw

PATCH 1/1 nfs-utils: add missing include of stdint

Glibc bump to 2.26 exposed this missing header when building with the following combination using an i386 internal toolchain. gcc5.4.0
bin2.28.1
linux4.1.43

Logfile snippet:

2017-10-02T00:08:11 ^
2017-10-02T00:08:12 rpc.c: In function ?nsm_recv_getport?:
2017-10-02T00:08:12 rpc.c:469:13: error: ?UINT16_MAX? undeclared (first use in this function)

Upstream: https://bugzilla.linux-nfs.org/show_bug.cgi?id=312

---
 ...nfs-utils-add-missing-include-of-stdint.h.patch | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 package/nfs-utils/0005-nfs-utils-add-missing-include-of-stdint.h.patch
package/nfs-utils/0005-nfs-utils-add-missing-include-of-stdint.h.patch new file +33 -0
new file mode 100644
index 0000000..e34c3c9
@@ -0,0 +1,33 @@
+From b3ff26fa182b34b6faa1317f18a9dac4c7963334 Mon Sep 17 00:00:00 2001
+From: Matt Weber <[email protected]>
+Date: Mon, 2 Oct 2017 09:57:15 -0500
+Subject: [PATCH] nfs-utils: add missing include of stdint.h
+
+Glibc bump to 2.26 exposed this missing header when building
+with the following combination using an i386 internal toolchain.
+gcc5.4.0
+bin2.28.1
+linux4.1.43
+
+Upstream: https://bugzilla.linux-nfs.org/show_bug.cgi?id=312
+
+Signed-off-by: Matthew Weber <[email protected]>
+---
+ support/nsm/rpc.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/support/nsm/rpc.c b/support/nsm/rpc.c
+index 4e5f40e..d91c6ea 100644
+--- a/support/nsm/rpc.c
++++ b/support/nsm/rpc.c
+@@ -40,6 +40,7 @@
+ 
+ #include <time.h>
+ #include <stdbool.h>
++#include <stdint.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+-- 
+1.9.1
+
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 nfs-utils: add missing include of stdint

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Matt" == Matt Weber <[email protected]> writes:

Glibc bump to 2.26 exposed this missing header when building with the following combination using an i386 internal toolchain. gcc5.4.0
bin2.28.1
linux4.1.43

Logfile snippet:

Quoted 7 lines
2017-10-02T00:08:11 ^
2017-10-02T00:08:12 rpc.c: In function ?nsm_recv_getport?:
2017-10-02T00:08:12 rpc.c:469:13: error: ?UINT16_MAX? undeclared (first use in this function)

Upstream: https://bugzilla.linux-nfs.org/show_bug.cgi?id=312

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard