diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-08 19:31:41 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-08 19:31:57 +0200 |
commit | e010476a7aa4548e47e6d76455cb09d289851ab9 (patch) | |
tree | 162d1e5e60718ccebe31c5486e37440e0cdd597e /package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c | |
parent | ac9ec140fbb81e12f9121c21b0d39b5747d6c37c (diff) |
fix nfs-utils/rpcbind for musl toolchains, patches mostly from Alpine Linux
Diffstat (limited to 'package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c')
-rw-r--r-- | package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c b/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c index 078212ba3..1d7937005 100644 --- a/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c +++ b/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c @@ -1,6 +1,6 @@ ---- nfs-utils-1.2.3.orig/tools/rpcgen/rpc_main.c 2010-09-28 14:24:16.000000000 +0200 -+++ nfs-utils-1.2.3/tools/rpcgen/rpc_main.c 2010-12-24 23:45:11.000000000 +0100 -@@ -155,11 +155,7 @@ int timerflag; /* TRUE if !indefinite & +--- nfs-utils-1.3.4.orig/tools/rpcgen/rpc_main.c 2016-08-03 20:25:15.000000000 +0200 ++++ nfs-utils-1.3.4/tools/rpcgen/rpc_main.c 2016-10-08 09:58:39.000000000 +0200 +@@ -156,11 +156,7 @@ int timerflag; /* TRUE if !indefinite & int newstyle; /* newstyle of passing arguments (by value) */ int Cflag = 0 ; /* ANSI C syntax */ static int allfiles; /* generate all files */ @@ -12,7 +12,7 @@ int main(int argc, char **argv) -@@ -543,13 +539,8 @@ s_output(int argc, char **argv, char *in +@@ -544,13 +540,8 @@ s_output(int argc, char **argv, char *in timerflag = 1; } @@ -26,7 +26,7 @@ if( Cflag && (inetdflag || pmflag ) ) { f_print(fout, "#ifdef __cplusplus\n"); f_print(fout, "#include <sysent.h> /* getdtablesize, open */\n"); -@@ -562,9 +553,6 @@ s_output(int argc, char **argv, char *in +@@ -563,9 +554,6 @@ s_output(int argc, char **argv, char *in f_print(fout, "#include <sys/types.h>\n"); f_print(fout, "#include <memory.h>\n"); |