From 95b2874fc5bb1651e65d4258f309bf11641fd190 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Tue, 16 Feb 2016 00:33:27 +0100 Subject: [PATCH] package/util-linux: fix typo in configure.ac Fixes: http://autobuild.buildroot.net/results/993/9935cd0522d4f978ba2e788a690f66790686b76b Signed-off-by: Romain Naour Cc: Lada Trimasova Signed-off-by: Thomas Petazzoni --- .../util-linux/0007-build-sys-fix-typo.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/util-linux/0007-build-sys-fix-typo.patch diff --git a/package/util-linux/0007-build-sys-fix-typo.patch b/package/util-linux/0007-build-sys-fix-typo.patch new file mode 100644 index 0000000000..204c3d8f09 --- /dev/null +++ b/package/util-linux/0007-build-sys-fix-typo.patch @@ -0,0 +1,34 @@ +From dea1bd2917ed9490ee96162288e0904e3de9da2d Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Tue, 16 Feb 2016 00:24:30 +0100 +Subject: [PATCH] build-sys: fix typo + +When timer_create is available have_timer must be +set to "yes". But instead have_time is used. + +Replace have_time by have_timer. + +Fixes: +http://autobuild.buildroot.net/results/993/9935cd0522d4f978ba2e788a690f66790686b76b + +Signed-off-by: Romain Naour +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 4559573..3950f0c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -390,7 +390,7 @@ AC_CHECK_FUNCS([clock_gettime], [], + + have_timer="no" + AC_CHECK_FUNCS([timer_create], +- [have_time="yes"], ++ [have_timer="yes"], + [AC_CHECK_LIB([rt], [timer_create], [ + have_timer="yes" + REALTIME_LIBS="-lrt" +-- +2.5.0 + -- 2.30.2