diff options
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.15/eglibc-rpc-export-again.patch')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-2.15/eglibc-rpc-export-again.patch | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.15/eglibc-rpc-export-again.patch b/meta/recipes-core/eglibc/eglibc-2.15/eglibc-rpc-export-again.patch new file mode 100644 index 0000000000..15bd2f8514 --- /dev/null +++ b/meta/recipes-core/eglibc/eglibc-2.15/eglibc-rpc-export-again.patch | |||
@@ -0,0 +1,72 @@ | |||
1 | |||
2 | Upstream-Status: Inappropriate [configuration] | ||
3 | |||
4 | export the rpc symbols and headers again until we can get libtirpc sorted | ||
5 | out as a proper and full replacement | ||
6 | |||
7 | patch from fedora (if redhat can't get it to work as the maintainers of all | ||
8 | these packages, then what chance do we have!) | ||
9 | |||
10 | Index: libc/NEWS | ||
11 | =================================================================== | ||
12 | --- libc.orig/NEWS 2011-09-09 10:46:36.000000000 -0700 | ||
13 | +++ libc/NEWS 2011-09-09 10:58:21.196279725 -0700 | ||
14 | @@ -20,16 +20,6 @@ | ||
15 | 12724, 12734, 12738, 12746, 12766, 12775, 12777, 12782, 12788, 12792, | ||
16 | 12795, 12811, 12813, 12814, 12841 | ||
17 | |||
18 | -* The RPC implementation in libc is obsoleted. Old programs keep working | ||
19 | - but new programs cannot be linked with the routines in libc anymore. | ||
20 | - Programs in need of RPC functionality must be linked against TI-RPC. | ||
21 | - The TI-RPC implementation is IPv6 enabled and there are other benefits. | ||
22 | - | ||
23 | - Visible changes of this change include (obviously) the inability to link | ||
24 | - programs using RPC functions without referencing the TI-RPC library and the | ||
25 | - removal of the RPC headers from the glibc headers. | ||
26 | - Implemented by Ulrich Drepper. | ||
27 | - | ||
28 | * New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at, | ||
29 | syncfs, setns, sendmmsg | ||
30 | |||
31 | Index: libc/include/libc-symbols.h | ||
32 | =================================================================== | ||
33 | --- libc.orig/include/libc-symbols.h 2011-09-09 10:45:34.000000000 -0700 | ||
34 | +++ libc/include/libc-symbols.h 2011-09-09 10:58:21.196279725 -0700 | ||
35 | @@ -656,7 +656,7 @@ | ||
36 | # define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs) | ||
37 | # define libc_hidden_def(name) hidden_def (name) | ||
38 | # define libc_hidden_weak(name) hidden_weak (name) | ||
39 | -# define libc_hidden_nolink(name, version) hidden_nolink (name, libc, version) | ||
40 | +# define libc_hidden_nolink(name, version) hidden_def (name) | ||
41 | # define libc_hidden_ver(local, name) hidden_ver (local, name) | ||
42 | # define libc_hidden_data_def(name) hidden_data_def (name) | ||
43 | # define libc_hidden_data_weak(name) hidden_data_weak (name) | ||
44 | Index: libc/nis/Makefile | ||
45 | =================================================================== | ||
46 | --- libc.orig/nis/Makefile 2011-09-09 10:46:34.000000000 -0700 | ||
47 | +++ libc/nis/Makefile 2011-09-09 10:58:21.196279725 -0700 | ||
48 | @@ -25,9 +25,9 @@ | ||
49 | |||
50 | aux := nis_hash | ||
51 | |||
52 | +headers := $(wildcard rpcsvc/*.[hx]) | ||
53 | distribute := nss-nis.h nss-nisplus.h nis_intern.h Banner \ | ||
54 | - nisplus-parser.h nis_xdr.h nss \ | ||
55 | - $(wildcard rpcsvc/*.[hx]) | ||
56 | + nisplus-parser.h nis_xdr.h nss | ||
57 | |||
58 | # These are the databases available for the nis (and perhaps later nisplus) | ||
59 | # service. This must be a superset of the services in nss. | ||
60 | Index: libc/sunrpc/Makefile | ||
61 | =================================================================== | ||
62 | --- libc.orig/sunrpc/Makefile 2011-09-09 10:46:30.000000000 -0700 | ||
63 | +++ libc/sunrpc/Makefile 2011-09-09 10:59:10.726352375 -0700 | ||
64 | @@ -55,7 +55,7 @@ | ||
65 | des_crypt.h) | ||
66 | headers-not-in-tirpc = $(addprefix rpc/,key_prot.h rpc_des.h) \ | ||
67 | $(rpcsvc:%=rpcsvc/%) rpcsvc/bootparam.h | ||
68 | -headers = rpc/netdb.h | ||
69 | +headers = rpc/netdb.h $(headers-in-tirpc) $(headers-not-in-tirpc) | ||
70 | generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c) $(rpcsvc:%.x=x%.stmp) \ | ||
71 | $(rpcsvc:%.x=rpcsvc/%.stmp) rpcgen | ||
72 | generated-dirs := rpcsvc | ||