Browse Source

nfs-utils: fix glibc compile issue

Waldemar Brodkorb 6 years ago
parent
commit
9b61236019

+ 3 - 3
package/nfs-utils/patches/patch-support_include_conffile_h

@@ -1,5 +1,5 @@
---- nfs-utils-3e2ab78a2cfbc2d11c31ced8d3f538d5aae757f1.orig/support/include/conffile.h	2016-10-01 21:41:15.000000000 +0200
-+++ nfs-utils-3e2ab78a2cfbc2d11c31ced8d3f538d5aae757f1/support/include/conffile.h	2016-10-02 08:47:53.000000000 +0200
+--- nfs-utils-2.1.1.orig/support/include/conffile.h	2017-01-12 16:21:39.000000000 +0100
++++ nfs-utils-2.1.1/support/include/conffile.h	2017-08-12 18:53:54.262608096 +0200
 @@ -33,7 +33,7 @@
  #ifndef _CONFFILE_H_
  #define _CONFFILE_H_
@@ -8,4 +8,4 @@
 +#include "queue.h"
  #include <ctype.h>
  #include <stdint.h>
- 
+ #include <stdbool.h>

+ 10 - 0
package/nfs-utils/patches/patch-support_nsm_rpc_c

@@ -0,0 +1,10 @@
+--- nfs-utils-2.1.1.orig/support/nsm/rpc.c	2017-01-12 16:21:39.000000000 +0100
++++ nfs-utils-2.1.1/support/nsm/rpc.c	2017-08-12 18:58:41.276150487 +0200
+@@ -40,6 +40,7 @@
+ 
+ #include <time.h>
+ #include <stdbool.h>
++#include <stdint.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <fcntl.h>