diff options
Diffstat (limited to 'meta/recipes-extended/quota/quota/0003-Don-t-build-rpc.rquotad-when-disable-rpc-was-request.patch')
-rw-r--r-- | meta/recipes-extended/quota/quota/0003-Don-t-build-rpc.rquotad-when-disable-rpc-was-request.patch | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/meta/recipes-extended/quota/quota/0003-Don-t-build-rpc.rquotad-when-disable-rpc-was-request.patch b/meta/recipes-extended/quota/quota/0003-Don-t-build-rpc.rquotad-when-disable-rpc-was-request.patch deleted file mode 100644 index 1455384129..0000000000 --- a/meta/recipes-extended/quota/quota/0003-Don-t-build-rpc.rquotad-when-disable-rpc-was-request.patch +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
4 | --- | ||
5 | From c7a76237e7a51a69d0236ebfc191e462f805cf4e Mon Sep 17 00:00:00 2001 | ||
6 | From: Lars Wendler <polynomial-c@gentoo.org> | ||
7 | Date: Mon, 15 Feb 2016 14:42:14 +0100 | ||
8 | Subject: [PATCH] Don't build rpc.rquotad when --disable-rpc was requested. | ||
9 | |||
10 | This fixes a buch of undefined references: | ||
11 | |||
12 | x86_64-pc-linux-gnu-gcc -march=native -mtune=native -O2 -pipe -D_GNU_SOURCE -Wa | ||
13 | ll -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -pie -Wl,-O1 -Wl,--hash-st | ||
14 | yle=gnu -Wl,--sort-common -Wl,--as-needed -o rpc.rquotad rquota_server.o rquota_ | ||
15 | svc.o svc_socket.o libquota.a | ||
16 | rquota_svc.o: In function `rquotaprog_2': | ||
17 | rquota_svc.c:(.text+0x1d3): undefined reference to `xdr_setquota_rslt' | ||
18 | rquota_svc.c:(.text+0x1da): undefined reference to `xdr_ext_setquota_args' | ||
19 | rquota_svc.c:(.text+0x2b2): undefined reference to `xdr_setquota_rslt' | ||
20 | rquota_svc.c:(.text+0x2b9): undefined reference to `xdr_ext_setquota_args' | ||
21 | rquota_svc.c:(.text+0x2ff): undefined reference to `xdr_getquota_rslt' | ||
22 | rquota_svc.c:(.text+0x306): undefined reference to `xdr_ext_getquota_args' | ||
23 | rquota_svc.c:(.text+0x31a): undefined reference to `xdr_getquota_rslt' | ||
24 | rquota_svc.c:(.text+0x321): undefined reference to `xdr_ext_getquota_args' | ||
25 | rquota_svc.o: In function `rquotaprog_1': | ||
26 | rquota_svc.c:(.text+0x3f3): undefined reference to `xdr_setquota_rslt' | ||
27 | rquota_svc.c:(.text+0x3fa): undefined reference to `xdr_setquota_args' | ||
28 | rquota_svc.c:(.text+0x4d2): undefined reference to `xdr_setquota_rslt' | ||
29 | rquota_svc.c:(.text+0x4d9): undefined reference to `xdr_setquota_args' | ||
30 | rquota_svc.c:(.text+0x51f): undefined reference to `xdr_getquota_rslt' | ||
31 | rquota_svc.c:(.text+0x526): undefined reference to `xdr_getquota_args' | ||
32 | rquota_svc.c:(.text+0x53a): undefined reference to `xdr_getquota_rslt' | ||
33 | rquota_svc.c:(.text+0x541): undefined reference to `xdr_getquota_args' | ||
34 | collect2: error: ld returned 1 exit status | ||
35 | Makefile:901: recipe for target 'rpc.rquotad' failed | ||
36 | |||
37 | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> | ||
38 | Signed-off-by: Jan Kara <jack@suse.cz> | ||
39 | --- | ||
40 | Makefile.am | 5 ++++- | ||
41 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
42 | |||
43 | diff --git a/Makefile.am b/Makefile.am | ||
44 | index 77f8400..6d7ea0e 100644 | ||
45 | --- a/Makefile.am | ||
46 | +++ b/Makefile.am | ||
47 | @@ -116,8 +116,11 @@ sbin_PROGRAMS = \ | ||
48 | xqmstats \ | ||
49 | edquota \ | ||
50 | setquota \ | ||
51 | - convertquota \ | ||
52 | + convertquota | ||
53 | +if WITH_RPC | ||
54 | +sbin_PROGRAMS += \ | ||
55 | rpc.rquotad | ||
56 | +endif | ||
57 | if WITH_NETLINK | ||
58 | sbin_PROGRAMS += \ | ||
59 | quota_nld | ||
60 | -- | ||
61 | 2.6.1 | ||
62 | |||