patches/glibc/2.1.3/glibc-rpcgen-cpp.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.1.3/glibc-rpcgen-cpp.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,14 @@
     1.4 +--- glibc-2.1.3/sunrpc/Makefile.orig	2004-05-12 12:26:58.000000000 -0700
     1.5 ++++ glibc-2.1.3/sunrpc/Makefile	2004-05-12 12:29:05.000000000 -0700
     1.6 +@@ -123,9 +123,8 @@
     1.7 +   $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
     1.8 + 	$(+link)
     1.9 + 
    1.10 +-# Tell rpcgen where to find the C preprocessor.
    1.11 +-rpcgen-cmd = $(built-program-cmd) -Y `$(CC) -print-file-name=cpp | \
    1.12 +-				      sed "s|/cpp$$||"`
    1.13 ++# Don't tell rpcgen where to find the C preprocessor -- let it find it itself.
    1.14 ++rpcgen-cmd = $(built-program-cmd) 
    1.15 + 
    1.16 + # Install the rpc data base file.
    1.17 + $(inst_sysconfdir)/rpc: etc.rpc $(+force)