1 diff -ru glibc-2.18-orig/sunrpc/rpc_main.c glibc-2.18/sunrpc/rpc_main.c
2 --- glibc-2.18-orig/sunrpc/rpc_main.c 2013-08-11 00:52:55.000000000 +0200
3 +++ glibc-2.18/sunrpc/rpc_main.c 2013-11-15 12:04:48.041006977 +0100
6 static const char *svcclosetime = "120";
7 static int cppDefined; /* explicit path for C preprocessor */
8 -static const char *CPP = "/lib/cpp";
9 +static const char *CPP = "cpp";
10 static const char CPPFLAGS[] = "-C";
14 static void open_output (const char *infile, const char *outfile);
15 static void add_warning (void);
16 static void clear_args (void);
17 -static void find_cpp (void);
18 static void open_input (const char *infile, const char *define);
19 static int check_nettype (const char *name, const char *list_to_check[]);
20 static void c_output (const char *infile, const char *define,
25 -/* make sure that a CPP exists */
31 - if (stat64 (CPP, &buf) == 0)
34 - if (cppDefined) /* user specified cpp but it does not exist */
36 - fprintf (stderr, _ ("cannot find C preprocessor: %s\n"), CPP);
40 - /* fall back to system CPP */
45 * Open input file with given define for C-preprocessor