]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
sunrpc: fix rpc bootstrap builds
authorMike Frysinger <vapier@gentoo.org>
Tue, 3 Jul 2012 19:22:05 +0000 (15:22 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 13 Aug 2012 02:09:23 +0000 (22:09 -0400)
If you build & install glibc w/rpc disabled, you no longer have headers in
/usr/include/rpc/ (this is expected).  But if you try to build glibc w/rpc
enabled, this gets into a bad state due to the new rpc helpers that get
cross-compiled:

$ make
...
x86_64-pc-linux-gnu-gcc -m32   -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build \
-include $objdir/config.h rpc_clntout.c -o $objdir/sunrpc/cross-rpc_clntout.o \
-MMD -MP -MF $objdir/sunrpc/cross-rpc_clntout.o.dt -MT $objdir/sunrpc/cross-rpc_clntout.o -c
rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory
compilation terminated.
make: *** [$objdir/sunrpc/cross-rpc_clntout.o] Error 1

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
(cherry picked from commit fb21f89b75d0152aa42efb6b620843799a4cd76b)

ChangeLog
sunrpc/rpc_clntout.c

index 32bb34585cab4b848abb2b1ab4098916004d9e7d..27cf01e5735ec6fced27015845a702e2b3df3dd9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
+
 2012-07-16  Andreas Jaeger  <aj@suse.de>
 
        * po/ru.po: Update from translation team.
index ec040c775e2313161caffc2f771923cb35c762aa..ce4d2a4c95330eaf05798549b9dc5fdb05d63475 100644 (file)
@@ -31,7 +31,7 @@
  */
 #include <stdio.h>
 #include <string.h>
-#include <rpc/types.h>
+#include "rpc/types.h"
 #include "rpc_parse.h"
 #include "rpc_util.h"
 #include "proto.h"