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