]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools/bc: remove useless patch
authorMichael Pratt <mcpratt@pm.me>
Tue, 24 Jun 2025 18:23:49 +0000 (14:23 -0400)
committerRobert Marko <robimarko@gmail.com>
Sat, 26 Jul 2025 12:38:07 +0000 (14:38 +0200)
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@pm.me>
Link: https://github.com/openwrt/openwrt/pull/16522
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/bc/patches/002-fix-libmath.patch [deleted file]

diff --git a/tools/bc/patches/002-fix-libmath.patch b/tools/bc/patches/002-fix-libmath.patch
deleted file mode 100644 (file)
index 2ec74e5..0000000
+++ /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