summaryrefslogtreecommitdiffstats
path: root/package/util-linux/0007-build-sys-fix-typo.patch
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2016-02-16 00:33:27 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-16 22:29:06 +0100
commit95b2874fc5bb1651e65d4258f309bf11641fd190 (patch)
treee9cde2c417e5f17c1b7bbe0452da4604f818d4bb /package/util-linux/0007-build-sys-fix-typo.patch
parentf3fac0dcfdf5bc6728ec4e6063832c2f2342f920 (diff)
downloadbuildroot-95b2874fc5bb1651e65d4258f309bf11641fd190.tar.gz
buildroot-95b2874fc5bb1651e65d4258f309bf11641fd190.zip
package/util-linux: fix typo in configure.ac
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>
Diffstat (limited to 'package/util-linux/0007-build-sys-fix-typo.patch')
-rw-r--r--package/util-linux/0007-build-sys-fix-typo.patch34
1 files changed, 34 insertions, 0 deletions
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 <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
+
OpenPOWER on IntegriCloud