mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
7b8f2dc6ec
Update to latest version. Replace mirror with @GNU/bc. Manually refresh: - 001-no_doc.patch Add patch found here:26f275502d
as 002-fix-libmath.patch to fix compilation. Add another patch found here:55b26eda94
as 003-bc-fix-hang.patch to prevent a hang when building the kernel. Signed-off-by: Nick Hainke <vincent@systemli.org>
33 lines
630 B
Diff
33 lines
630 B
Diff
--- a/bc/fix-libmath_h
|
|
+++ b/bc/fix-libmath_h
|
|
@@ -1,9 +1,9 @@
|
|
-ed libmath.h <<EOS-EOS
|
|
-1,1s/^/{"/
|
|
-1,\$s/\$/",/
|
|
-2,\$s/^/"/
|
|
-\$,\$d
|
|
-\$,\$s/,\$/,0}/
|
|
-w
|
|
-q
|
|
-EOS-EOS
|
|
+#! /bin/bash
|
|
+sed -e '1 s/^/{"/' \
|
|
+ -e 's/$/",/' \
|
|
+ -e '2,$ s/^/"/' \
|
|
+ -e '$ d' \
|
|
+ -i libmath.h
|
|
+
|
|
+sed -e '$ s/$/0}/' \
|
|
+ -i libmath.h
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -5288,7 +5288,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
|