summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-07-03 23:58:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:54:03 +0100
commit83dda47b2e8ed8eafa9efb97d12a6ea201522c2f (patch)
treea72c3e995418f0f0c6806dc46ef21373bf37e437 /meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch
parent85e5f2d8ac4e4096b5f4dbf4c5cb66680777d54d (diff)
downloadpoky-83dda47b2e8ed8eafa9efb97d12a6ea201522c2f.tar.gz
eglibc: Add recipes for 2.16 release
Drop the patches that were either applied or fixed differenly in 2.16 Add patches to fix ppc spe patches to match eglibc 2.16 Fix CPPFLAGS to contain correct includepaths so autoconf cache is generated correctly (From OE-Core rev: 705fe4dab44e623350fc32efece87a977d53bfc4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch63
1 files changed, 63 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch b/meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch
new file mode 100644
index 0000000000..130a816f62
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.16/rpc-bootstrap.patch
@@ -0,0 +1,63 @@
1Upstream-Status: Pending
2Signed-off-by: Khem Raj <raj.khem@gmail.com>
3
4
5From libc-alpha-return-31199-listarch-libc-alpha=sources dot redhat dot com at sourceware dot org Tue Jul 03 19:54:27 2012
6Return-Path: <libc-alpha-return-31199-listarch-libc-alpha=sources dot redhat dot com at sourceware dot org>
7Delivered-To: listarch-libc-alpha at sources dot redhat dot com
8Received: (qmail 20151 invoked by alias); 3 Jul 2012 19:54:25 -0000
9Received: (qmail 20139 invoked by uid 22791); 3 Jul 2012 19:54:23 -0000
10X-SWARE-Spam-Status: No, hits=-4.8 required=5.0
11 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,T_RP_MATCHES_RCVD
12X-Spam-Check-By: sourceware.org
13From: Mike Frysinger <vapier at gentoo dot org>
14To: libc-alpha at sourceware dot org
15Subject: [PATCH] sunrpc: fix rpc bootstrap builds
16Date: Tue, 3 Jul 2012 15:54:11 -0400
17Message-Id: <1341345251-31730-1-git-send-email-vapier@gentoo.org>
18Mailing-List: contact libc-alpha-help at sourceware dot org; run by ezmlm
19Precedence: bulk
20List-Id: <libc-alpha.sourceware.org>
21List-Subscribe: <mailto:libc-alpha-subscribe at sourceware dot org>
22List-Archive: <http://sourceware.org/ml/libc-alpha/>
23List-Post: <mailto:libc-alpha at sourceware dot org>
24List-Help: <mailto:libc-alpha-help at sourceware dot org>, <http://sourceware dot org/ml/#faqs>
25Sender: libc-alpha-owner at sourceware dot org
26Delivered-To: mailing list libc-alpha at sourceware dot org
27
28If you build & install glibc w/rpc disabled, you no longer have headers in
29/usr/include/rpc/ (this is expected). But if you try to build glibc w/rpc
30enabled, this gets into a bad state due to the new rpc helpers that get
31cross-compiled:
32
33$ make
34...
35x86_64-pc-linux-gnu-gcc -m32 -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build \
36 -include $objdir/config.h rpc_clntout.c -o $objdir/sunrpc/cross-rpc_clntout.o \
37 -MMD -MP -MF $objdir/sunrpc/cross-rpc_clntout.o.dt -MT $objdir/sunrpc/cross-rpc_clntout.o -c
38rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory
39compilation terminated.
40make: *** [$objdir/sunrpc/cross-rpc_clntout.o] Error 1
41
42Signed-off-by: Mike Frysinger <vapier@gentoo.org>
43
442012-07-03 Mike Frysinger <vapier@gentoo.org>
45
46 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47---
48 sunrpc/rpc_clntout.c | 2 +-
49 1 file changed, 1 insertion(+), 1 deletion(-)
50
51Index: libc/sunrpc/rpc_clntout.c
52===================================================================
53--- libc.orig/sunrpc/rpc_clntout.c 2012-07-04 16:09:16.000000000 -0700
54+++ libc/sunrpc/rpc_clntout.c 2012-07-04 18:04:34.498085075 -0700
55@@ -31,7 +31,7 @@
56 */
57 #include <stdio.h>
58 #include <string.h>
59-#include <rpc/types.h>
60+#include "rpc/types.h"
61 #include "rpc_parse.h"
62 #include "rpc_util.h"
63 #include "proto.h"