summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-03-10 16:07:36 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-12 18:33:29 +0000
commita3116c1002dbb411dee0266eeb4cefb58d24ad74 (patch)
tree7f39bc79b1347cb2acc8207d35d57e0ed2c9bf77 /meta/recipes-extended
parent29ec481c46b6f10e31a7bcaa84f6d77f280be6ec (diff)
downloadpoky-a3116c1002dbb411dee0266eeb4cefb58d24ad74.tar.gz
libtirpc: Fix build on uclibc
Last upgrade of libtirpc broke the uclibc specific patch. So lets refresh it and make it compile for uclibc again (From OE-Core rev: 4f46023fc24354c8144e755daf29c83926f3e1f6) 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-extended')
-rw-r--r--meta/recipes-extended/libtirpc/libtirpc-0.2.3/remove-des-uclibc.patch45
1 files changed, 18 insertions, 27 deletions
diff --git a/meta/recipes-extended/libtirpc/libtirpc-0.2.3/remove-des-uclibc.patch b/meta/recipes-extended/libtirpc/libtirpc-0.2.3/remove-des-uclibc.patch
index 4e828f6998..d003348af9 100644
--- a/meta/recipes-extended/libtirpc/libtirpc-0.2.3/remove-des-uclibc.patch
+++ b/meta/recipes-extended/libtirpc/libtirpc-0.2.3/remove-des-uclibc.patch
@@ -3,33 +3,11 @@ uclibc does not provide des functionality unlike eglibc so lets disable ssl supp
3Upstream-Status: Inappropriate [uclibc specific] 3Upstream-Status: Inappropriate [uclibc specific]
4Signed-off-by: Khem Raj <raj.khem@gmail.com> 4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 5
6Index: libtirpc-0.2.2/src/Makefile.am 6Index: libtirpc-0.2.3/src/rpc_soc.c
7=================================================================== 7===================================================================
8--- libtirpc-0.2.2.orig/src/Makefile.am 2013-01-23 14:08:58.802143165 -0800 8--- libtirpc-0.2.3.orig/src/rpc_soc.c 2013-03-10 16:00:51.355282153 -0700
9+++ libtirpc-0.2.2/src/Makefile.am 2013-01-23 18:06:22.970410357 -0800 9+++ libtirpc-0.2.3/src/rpc_soc.c 2013-03-10 16:00:51.703282148 -0700
10@@ -40,7 +40,7 @@ 10@@ -520,6 +520,7 @@
11 # release number of your package. This is an abuse that only fosters
12 # misunderstanding of the purpose of library versions."
13 #
14-libtirpc_la_LDFLAGS = -lnsl -lpthread -version-info 1:10:0
15+libtirpc_la_LDFLAGS = -lpthread -version-info 1:10:0
16
17 libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \
18 clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \
19@@ -50,7 +50,7 @@
20 rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
21 rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \
22 svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \
23- auth_time.c auth_des.c authdes_prot.c
24+ auth_time.c
25
26 ## XDR
27 libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c
28Index: libtirpc-0.2.2/src/rpc_soc.c
29===================================================================
30--- libtirpc-0.2.2.orig/src/rpc_soc.c 2011-05-02 05:10:40.000000000 -0700
31+++ libtirpc-0.2.2/src/rpc_soc.c 2013-01-23 18:07:28.894410317 -0800
32@@ -515,6 +515,7 @@
33 (resultproc_t) rpc_wrap_bcast, "udp"); 11 (resultproc_t) rpc_wrap_bcast, "udp");
34 } 12 }
35 13
@@ -37,7 +15,7 @@ Index: libtirpc-0.2.2/src/rpc_soc.c
37 /* 15 /*
38 * Create the client des authentication object. Obsoleted by 16 * Create the client des authentication object. Obsoleted by
39 * authdes_seccreate(). 17 * authdes_seccreate().
40@@ -546,6 +547,7 @@ 18@@ -551,6 +552,7 @@
41 dummy = authdes_seccreate(servername, window, NULL, ckey); 19 dummy = authdes_seccreate(servername, window, NULL, ckey);
42 return (dummy); 20 return (dummy);
43 } 21 }
@@ -45,3 +23,16 @@ Index: libtirpc-0.2.2/src/rpc_soc.c
45 23
46 /* 24 /*
47 * Create a client handle for a unix connection. Obsoleted by clnt_vc_create() 25 * Create a client handle for a unix connection. Obsoleted by clnt_vc_create()
26Index: libtirpc-0.2.3/src/Makefile.am
27===================================================================
28--- libtirpc-0.2.3.orig/src/Makefile.am 2013-03-10 16:00:51.355282153 -0700
29+++ libtirpc-0.2.3/src/Makefile.am 2013-03-10 16:00:51.703282148 -0700
30@@ -50,7 +50,7 @@
31 rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
32 rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_auth_none.c \
33 svc_generic.c svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \
34- auth_time.c auth_des.c authdes_prot.c
35+ auth_time.c
36
37 ## XDR
38 libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c