From 82c468d257ff1735701251445f042d04e0002c6d Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Fri, 21 Oct 2022 22:23:47 +0200 Subject: [PATCH] tools/bc: update to 1.07.1 Changes: Fixed ibase extension causing problems for read() Fixed parallel make problem. Remove the "003-bc-fix-hang.patch" because the hang is fixed upstream. Signed-off-by: Nick Hainke --- tools/bc/Makefile | 4 ++-- tools/bc/patches/002-fix-libmath.patch | 2 +- tools/bc/patches/003-bc-fix-hang.patch | 11 ----------- 3 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 tools/bc/patches/003-bc-fix-hang.patch diff --git a/tools/bc/Makefile b/tools/bc/Makefile index 9e1b2ba33..a535c7da9 100644 --- a/tools/bc/Makefile +++ b/tools/bc/Makefile @@ -7,11 +7,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bc -PKG_VERSION:=1.07 +PKG_VERSION:=1.07.1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/bc -PKG_HASH:=55cf1fc33a728d7c3d386cc7b0cb556eb5bacf8e0cb5a3fcca7f109fc61205ad +PKG_HASH:=62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a PKG_FIXUP := autoreconf PKG_CPE_ID:=cpe:/a:gnu:bc diff --git a/tools/bc/patches/002-fix-libmath.patch b/tools/bc/patches/002-fix-libmath.patch index 1a8439542..f2212f095 100644 --- a/tools/bc/patches/002-fix-libmath.patch +++ b/tools/bc/patches/002-fix-libmath.patch @@ -10,7 +10,7 @@ -w -q -EOS-EOS -+#! /bin/bash ++#!/usr/bin/env bash +sed -e '1 s/^/{"/' \ + -e 's/$/",/' \ + -e '2,$ s/^/"/' \ diff --git a/tools/bc/patches/003-bc-fix-hang.patch b/tools/bc/patches/003-bc-fix-hang.patch deleted file mode 100644 index ba297051e..000000000 --- a/tools/bc/patches/003-bc-fix-hang.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/bc/execute.c -+++ b/bc/execute.c -@@ -595,7 +595,7 @@ input_char (void) - if (in_ch == '.' || in_ch == '+' || in_ch == '-') - return (in_ch); - if (in_ch <= ' ') -- return (' '); -+ return (':'); - - return (':'); - }