diff options
author | Baruch Siach <baruch@tkos.co.il> | 2017-06-08 20:47:02 +0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-08 21:46:26 +0200 |
commit | ad7bdad0563ceec3fd06959e52e5525e42e5a25c (patch) | |
tree | f445c76c6713688a9029b68fd15cf523e8fedda0 /package/autofs/0002-autofs-build-check-for-clock_gettime-in-librt.patch | |
parent | 54dd63c569af3c4b713f0dde046bc9d1928c0838 (diff) | |
download | buildroot-ad7bdad0563ceec3fd06959e52e5525e42e5a25c.tar.gz buildroot-ad7bdad0563ceec3fd06959e52e5525e42e5a25c.zip |
autofs: bump to version 5.1.3
Drop upstream patches.
Cc: Jonathan Ben Avraham <yba@tkos.co.il>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/autofs/0002-autofs-build-check-for-clock_gettime-in-librt.patch')
-rw-r--r-- | package/autofs/0002-autofs-build-check-for-clock_gettime-in-librt.patch | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/package/autofs/0002-autofs-build-check-for-clock_gettime-in-librt.patch b/package/autofs/0002-autofs-build-check-for-clock_gettime-in-librt.patch deleted file mode 100644 index ade6d1cdb3..0000000000 --- a/package/autofs/0002-autofs-build-check-for-clock_gettime-in-librt.patch +++ /dev/null @@ -1,62 +0,0 @@ -From a38ab6c0f2790e047fc64867865eb2a073135618 Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias <gustavo@zacarias.com.ar> -Date: Sun, 19 Jun 2016 00:17:41 -0300 -Subject: [PATCH] autofs: build: check for clock_gettime in librt - -Glibc versions older than 2.17 define clock_gettime() in librt, so add a -check for this. - -Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> ---- -Patch status: sent to autofs@ mailing list - - Makefile.conf.in | 3 +++ - Makefile.rules | 2 ++ - configure.in | 4 ++++ - 3 files changed, 9 insertions(+) - -diff --git a/Makefile.conf.in b/Makefile.conf.in -index cb53e66..2bc3202 100644 ---- a/Makefile.conf.in -+++ b/Makefile.conf.in -@@ -11,6 +11,9 @@ - DAEMON_CFLAGS = @DAEMON_CFLAGS@ - DAEMON_LDFLAGS = @DAEMON_LDFLAGS@ - -+# Glibc < 2.17 requires librt for clock_gettime() -+LIBCLOCK_GETTIME = @LIBCLOCK_GETTIME@ -+ - # Special parameters for glibc (libc 6) - LIBNSL = @LIBNSL@ - LIBRESOLV = @LIBRESOLV@ -diff --git a/Makefile.rules b/Makefile.rules -index 6fa3e02..7d1af2e 100644 ---- a/Makefile.rules -+++ b/Makefile.rules -@@ -56,6 +56,8 @@ endif - - LIBS += $(LIBNSL) - -+LIBS += $(LIBCLOCK_GETTIME) -+ - # Standard rules - - .SUFFIXES: .c .o .s .so -diff --git a/configure.in b/configure.in -index 25d7c4e..a4318e8 100644 ---- a/configure.in -+++ b/configure.in -@@ -177,6 +177,10 @@ if test "$ac_cv_search_versionsort" = "no"; then - [Define if your C library does not provide versionsort]) - fi - -+# glibc < 2.17 needs librt for clock_gettime() -+AC_CHECK_LIB(rt, clock_gettime, LIBCLOCK_GETTIME="-lrt") -+AC_SUBST(LIBCLOCK_GETTIME) -+ - # - # glibc/libc 6 new libraries - # --- -2.7.3 - |