diff options
-rw-r--r-- | meta-networking/recipes-daemons/autofs/autofs/autofs-5.1.2-libtirpc-as-need.patch | 39 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/autofs/autofs/libtirpc.patch | 35 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/autofs/autofs_5.1.4.bb (renamed from meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb) | 6 |
3 files changed, 2 insertions, 78 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs/autofs-5.1.2-libtirpc-as-need.patch b/meta-networking/recipes-daemons/autofs/autofs/autofs-5.1.2-libtirpc-as-need.patch deleted file mode 100644 index 18ce193855..0000000000 --- a/meta-networking/recipes-daemons/autofs/autofs/autofs-5.1.2-libtirpc-as-need.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From b31decac4acb194b020c621d2d11019f636a45e0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 24 Apr 2017 20:41:25 -0700 | ||
4 | Subject: [PATCH] autofs: Upgrade to 5.1.2 release | ||
5 | |||
6 | Make configure compatible with -Wl,--as-needed following | ||
7 | https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed#Failure_in_..2Fconfigure | ||
8 | |||
9 | 2016-07-05 Martin von Gagern | ||
10 | |||
11 | --- | ||
12 | aclocal.m4 | 6 +++--- | ||
13 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
14 | |||
15 | diff --git a/aclocal.m4 b/aclocal.m4 | ||
16 | index 0e4a624..2e620cd 100644 | ||
17 | --- a/aclocal.m4 | ||
18 | +++ b/aclocal.m4 | ||
19 | @@ -415,9 +415,9 @@ AC_DEFUN([AF_CHECK_LIBTIRPC], | ||
20 | [ | ||
21 | # save current flags | ||
22 | af_check_libtirpc_save_cflags="$CFLAGS" | ||
23 | -af_check_libtirpc_save_ldflags="$LDFLAGS" | ||
24 | +af_check_libtirpc_save_libs="$LIBS" | ||
25 | CFLAGS="$CFLAGS -I=/usr/include/tirpc" | ||
26 | -LDFLAGS="$LDFLAGS -ltirpc" | ||
27 | +LIBS="$LIBS -ltirpc" | ||
28 | |||
29 | AC_TRY_LINK( | ||
30 | [ #include <rpc/rpc.h> ], | ||
31 | @@ -440,7 +440,7 @@ AC_CHECK_FUNCS([getrpcbyname getservbyname]) | ||
32 | |||
33 | # restore flags | ||
34 | CFLAGS="$af_check_libtirpc_save_cflags" | ||
35 | -LDFLAGS="$af_check_libtirpc_save_ldflags" | ||
36 | +LIBS="$af_check_libtirpc_save_libs" | ||
37 | ]) | ||
38 | |||
39 | AC_DEFUN([AF_WITH_LIBTIRPC], | ||
diff --git a/meta-networking/recipes-daemons/autofs/autofs/libtirpc.patch b/meta-networking/recipes-daemons/autofs/autofs/libtirpc.patch deleted file mode 100644 index 0a2d502b8d..0000000000 --- a/meta-networking/recipes-daemons/autofs/autofs/libtirpc.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From cb6a4f61adb027f2366318f2c08c8264ebf39218 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 5 Jan 2013 19:53:10 -0800 | ||
4 | |||
5 | --- | ||
6 | Makefile.rules | 2 +- | ||
7 | aclocal.m4 | 2 +- | ||
8 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
9 | |||
10 | diff --git a/Makefile.rules b/Makefile.rules | ||
11 | index 6fa3e02..709dd04 100644 | ||
12 | --- a/Makefile.rules | ||
13 | +++ b/Makefile.rules | ||
14 | @@ -46,7 +46,7 @@ CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64 | ||
15 | LIBS += -lpthread | ||
16 | |||
17 | ifdef TIRPCLIB | ||
18 | -CFLAGS += -I/usr/include/tirpc | ||
19 | +CFLAGS += -I=/usr/include/tirpc | ||
20 | LIBS += $(TIRPCLIB) | ||
21 | endif | ||
22 | |||
23 | diff --git a/aclocal.m4 b/aclocal.m4 | ||
24 | index 2a9a802..0e4a624 100644 | ||
25 | --- a/aclocal.m4 | ||
26 | +++ b/aclocal.m4 | ||
27 | @@ -416,7 +416,7 @@ AC_DEFUN([AF_CHECK_LIBTIRPC], | ||
28 | # save current flags | ||
29 | af_check_libtirpc_save_cflags="$CFLAGS" | ||
30 | af_check_libtirpc_save_ldflags="$LDFLAGS" | ||
31 | -CFLAGS="$CFLAGS -I/usr/include/tirpc" | ||
32 | +CFLAGS="$CFLAGS -I=/usr/include/tirpc" | ||
33 | LDFLAGS="$LDFLAGS -ltirpc" | ||
34 | |||
35 | AC_TRY_LINK( | ||
diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb b/meta-networking/recipes-daemons/autofs/autofs_5.1.4.bb index e2799952c9..187c6fa259 100644 --- a/meta-networking/recipes-daemons/autofs/autofs_5.1.2.bb +++ b/meta-networking/recipes-daemons/autofs/autofs_5.1.4.bb | |||
@@ -13,7 +13,6 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \ | |||
13 | file://autofs-5.0.7-include-linux-nfs.h-directly-in-rpc_sub.patch \ | 13 | file://autofs-5.0.7-include-linux-nfs.h-directly-in-rpc_sub.patch \ |
14 | file://no-bash.patch \ | 14 | file://no-bash.patch \ |
15 | file://cross.patch \ | 15 | file://cross.patch \ |
16 | file://libtirpc.patch \ | ||
17 | file://autofs-5.0.7-do-not-check-for-modprobe.patch \ | 16 | file://autofs-5.0.7-do-not-check-for-modprobe.patch \ |
18 | file://fix_disable_ldap.patch \ | 17 | file://fix_disable_ldap.patch \ |
19 | file://autofs-5.0.7-fix-lib-deps.patch \ | 18 | file://autofs-5.0.7-fix-lib-deps.patch \ |
@@ -24,12 +23,11 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.gz \ | |||
24 | file://fix-the-YACC-rule-to-fix-a-building-failure.patch \ | 23 | file://fix-the-YACC-rule-to-fix-a-building-failure.patch \ |
25 | file://0001-Define-__SWORD_TYPE-and-_PATH_NSSWITCH_CONF.patch \ | 24 | file://0001-Define-__SWORD_TYPE-and-_PATH_NSSWITCH_CONF.patch \ |
26 | file://0002-Replace-__S_IEXEC-with-S_IEXEC.patch \ | 25 | file://0002-Replace-__S_IEXEC-with-S_IEXEC.patch \ |
27 | file://autofs-5.1.2-libtirpc-as-need.patch \ | ||
28 | file://pkgconfig-libnsl.patch \ | 26 | file://pkgconfig-libnsl.patch \ |
29 | file://0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch \ | 27 | file://0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch \ |
30 | " | 28 | " |
31 | SRC_URI[md5sum] = "28cf88f99eff553a8500659ba5d45a76" | 29 | SRC_URI[md5sum] = "17bc9d371cf39d99f400ebadfc2289bb" |
32 | SRC_URI[sha256sum] = "0d57e4138c2ec8058ca92164d035546f68ce4af93acb893369993d67c7056a10" | 30 | SRC_URI[sha256sum] = "8d1c9964c8286ccb08262ad47c60bb6343492902def5399fd36d79a0ccb0e718" |
33 | 31 | ||
34 | UPSTREAM_CHECK_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/" | 32 | UPSTREAM_CHECK_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/" |
35 | 33 | ||