From 335bb45613de994560e899f7b12077b2080b5249 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 27 Jan 2010 08:14:37 +0100 Subject: fix cross-compile bug under Cygwin --- package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c (limited to 'package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c') diff --git a/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c b/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c new file mode 100644 index 000000000..5bc54e758 --- /dev/null +++ b/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c @@ -0,0 +1,12 @@ +--- nfs-utils-1.2.1.orig/tools/rpcgen/rpc_main.c 2009-11-04 12:13:56.000000000 +0100 ++++ nfs-utils-1.2.1/tools/rpcgen/rpc_main.c 2010-01-16 11:22:02.359375000 +0100 +@@ -562,9 +562,6 @@ s_output(int argc, char **argv, char *in + f_print(fout, "#include \n"); + + f_print(fout, "#include \n"); +-#ifndef linux +- f_print(fout, "#include \n"); +-#endif + if (inetdflag || !tirpcflag ) { + f_print(fout, "#include \n"); + f_print(fout, "#include \n"); -- cgit v1.2.3