[openwrt/openwrt] tools/bc: remove useless patch

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 26 05:38:21 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/3e95b955fc98078aabe555bce688d33619cbec7b

commit 3e95b955fc98078aabe555bce688d33619cbec7b
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Tue Jun 24 14:23:49 2025 -0400

    tools/bc: remove useless patch
    
    The remaining changes in this patch to the configure script
    has no effect at all since autoreconf is used with bc
    and the recent update to bc removed the need to patch
    the original set of changes in order to fix building.
    
    Remove the patch.
    
    Removed:
     - 002-fix-libmath.patch
    
    Fixes: abd424c3e ("tools/bc: update to 1.08.1")
    Signed-off-by: Michael Pratt <mcpratt at pm.me>
    Link: https://github.com/openwrt/openwrt/pull/16522
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 tools/bc/patches/002-fix-libmath.patch | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/tools/bc/patches/002-fix-libmath.patch b/tools/bc/patches/002-fix-libmath.patch
deleted file mode 100644
index 2ec74e55ba..0000000000
--- a/tools/bc/patches/002-fix-libmath.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure
-+++ b/configure
-@@ -5926,7 +5926,7 @@ case $bcle-$bcrl-$LEX in
-    ?-?-flex)
- 	LEX="flex -I -8" ;;
-    ?-y-*)
--	as_fn_error $? "readline works only with flex." "$LINENO" 5 ;;
-+	: ;; # as_fn_error $? "readline works only with flex." "$LINENO" 5 ;;
- esac
- 
- case $LEX-`uname -s` in




More information about the lede-commits mailing list