package/util-linux: fix typo in configure.ac
authorRomain Naour <romain.naour@gmail.com>
Mon, 15 Feb 2016 23:33:27 +0000 (00:33 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 16 Feb 2016 21:29:06 +0000 (22:29 +0100)
Fixes:
http://autobuild.buildroot.net/results/993/9935cd0522d4f978ba2e788a690f66790686b76b

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Lada Trimasova <ltrimas@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/util-linux/0007-build-sys-fix-typo.patch [new file with mode: 0644]

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 (file)
index 0000000..204c3d8
--- /dev/null
@@ -0,0 +1,34 @@
+From dea1bd2917ed9490ee96162288e0904e3de9da2d Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+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 <romain.naour@gmail.com>
+---
+ 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
+