Skip to contentSkip to conversation

package/util-linux: fix typo in configure.ac

PATCH New Romain Naour 2 participants 3 messages Feb 15, 2016 – Feb 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/util-linux: fix typo in configure.ac

Fixes:
http://autobuild.buildroot.net/results/993/9935cd0522d4f978ba2e788a690f66790686b76b

Cc Lada Trimasova <[email protected]>
---
 package/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
package/util-linux/0007-build-sys-fix-typo.patch new file +34 -0
new file mode 100644
index 0000000..d6aad4c
@@ -0,0 +1,34 @@
+From dea1bd2917ed9490ee96162288e0904e3de9da2d Mon Sep 17 00:00:00 2001
+From: Romain Naour <[email protected]>
+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 <[email protected]>
+---
+ 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
+
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 package/util-linux: fix typo in configure.ac

Dear Romain Naour,

Quoted 9 lines · Romain Naour

Fixes:
http://autobuild.buildroot.net/results/993/9935cd0522d4f978ba2e788a690f66790686b76b

Cc Lada Trimasova <[email protected]>
---
 package/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

Applied to master, thanks. Please don't forget to submit the patch upstream (and also other util-linux patches we have and that maybe have not been submitted upstream yet). Thanks :-)

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 package/util-linux: fix typo in configure.ac

Hi Thomas,

Le 16/02/2016 22:32, Thomas Petazzoni a ?crit :

Quoted 12 lines

Dear Romain Naour,

Quoted 9 lines · Romain Naour

Fixes:
http://autobuild.buildroot.net/results/993/9935cd0522d4f978ba2e788a690f66790686b76b

Cc Lada Trimasova <[email protected]>
---
  package/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

Quoted 3 lines

Applied to master, thanks. Please don't forget to submit the patch upstream (and also other util-linux patches we have and that maybe have not been submitted upstream yet). Thanks :-)

Well, sorry I forgot to send upstream :-/ I just sent two of these patches upsteam:
http://article.gmane.org/gmane.linux.utilities.util-linux-ng/12075
http://article.gmane.org/gmane.linux.utilities.util-linux-ng/12076

Patches 5 and 6 are upstream.

I'll send a patch to Buildroot to drop patch 3 since we don't support old uClibc anymore.

Patch 1 seems still needed and not upstream yet.I need to take a closer look... Best regards, Romain

Quoted 3 lines

Thomas