All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/brltty: fix infinite loop in configure
@ 2022-10-30 16:02 Yann E. MORIN
  0 siblings, 0 replies; only message in thread
From: Yann E. MORIN @ 2022-10-30 16:02 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=241db490b703fc734f0e8719a07d0f9ff40faaba
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Backport a patch to fix an infinite loop bug in configure.

Fixes:
 - http://autobuild.buildroot.net/results/82a/82af705f7ca282495461cb3994f5a7e6f64273e1
 - http://autobuild.buildroot.net/results/06c/06c9414a1ecbc1a147bc8dfddced03fc659af694
 - http://autobuild.buildroot.net/results/59e/59e36093f7e437a5a37037f7fa50ce2443c47fd3

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
 ...gue-runProgramTerminationCommands-used-a-.patch | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/package/brltty/0002-shell-prologue-runProgramTerminationCommands-used-a-.patch b/package/brltty/0002-shell-prologue-runProgramTerminationCommands-used-a-.patch
new file mode 100644
index 0000000000..0f81254e08
--- /dev/null
+++ b/package/brltty/0002-shell-prologue-runProgramTerminationCommands-used-a-.patch
@@ -0,0 +1,29 @@
+From 4503c2cbd3981ba1b50ec7ce287ab48c772b3a7f Mon Sep 17 00:00:00 2001
+From: Dave Mielke <Dave@Mielke.cc>
+Date: Sat, 15 Oct 2022 15:20:38 -0400
+Subject: [PATCH] shell prologue: runProgramTerminationCommands used a bash
+ command. (dm)
+
+Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
+[james.hilliard1@gmail.com: backport from upstream commit
+4503c2cbd3981ba1b50ec7ce287ab48c772b3a7f]
+---
+ brltty-prologue.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/brltty-prologue.sh b/brltty-prologue.sh
+index 05b817742..6d1faf983 100644
+--- a/brltty-prologue.sh
++++ b/brltty-prologue.sh
+@@ -102,7 +102,7 @@ runProgramTerminationCommands() {
+    while [ "${programTerminationCommandCount}" -gt 0 ]
+    do
+       set -- $(getVariable "programTerminationCommand${programTerminationCommandCount}")
+-      let "programTerminationCommandCount -= 1"
++      programTerminationCommandCount=$((programTerminationCommandCount - 1))
+ 
+       local process="${1}"
+       local directory="${2}"
+-- 
+2.34.1
+
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-30 16:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-30 16:02 [Buildroot] [git commit] package/brltty: fix infinite loop in configure Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.