diff options
author | Phil Sutter <phil@nwl.cc> | 2021-11-02 03:24:52 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2021-11-04 02:09:56 +0100 |
commit | 622819c8f12c7b2e75f4eaecdd65c17ce63ccbdd (patch) | |
tree | 61ec8274b2cfa01d71bf827c715ae52c83a76b17 /package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c | |
parent | 938bb9c51c9ee0a476b440c70b15cbc8edcbf087 (diff) |
nfs-utils: Update to version 2.5.2
Also update patches.
Signed-off-by: Phil Sutter <phil@nwl.cc>
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 | 38 |
1 files changed, 0 insertions, 38 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 deleted file mode 100644 index 1d7937005..000000000 --- a/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c +++ /dev/null @@ -1,38 +0,0 @@ ---- 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 */ --#ifdef linux - int tirpcflag = 0; /* no tirpc by default */ --#else --int tirpcflag = 1; /* generating code for tirpc, by default */ --#endif - - int - main(int argc, char **argv) -@@ -544,13 +540,8 @@ s_output(int argc, char **argv, char *in - timerflag = 1; - } - --#ifndef linux -- if( !tirpcflag && inetdflag ) -- f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n"); --#else - if( !tirpcflag ) - f_print(fout, "#include <sys/ioctl.h>/* TIOCNOTTY */\n"); --#endif - if( Cflag && (inetdflag || pmflag ) ) { - f_print(fout, "#ifdef __cplusplus\n"); - f_print(fout, "#include <sysent.h> /* getdtablesize, open */\n"); -@@ -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"); --#ifndef linux -- f_print(fout, "#include <stropts.h>\n"); --#endif - if (inetdflag || !tirpcflag ) { - f_print(fout, "#include <sys/socket.h>\n"); - f_print(fout, "#include <netinet/in.h>\n"); |