From 62cf562722b6d0a6100699a43a653b43ed0b139b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Sat, 11 Sep 2021 13:31:16 +0200 Subject: groups/211.native_packages_cmdline.group: bc: bump to v1.07.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- groups/211.native_packages_cmdline.group | 6 +-- patches/bc-1.07.1_pre.local.patch | 75 ++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 3 deletions(-) create mode 100644 patches/bc-1.07.1_pre.local.patch diff --git a/groups/211.native_packages_cmdline.group b/groups/211.native_packages_cmdline.group index d51ce532..d289852f 100644 --- a/groups/211.native_packages_cmdline.group +++ b/groups/211.native_packages_cmdline.group @@ -19,9 +19,9 @@ the_silver_searcher toilet tree terminally_tetris ubase which zsh")"; : ${PKG_BASH_URL:=https://ftp.gnu.org/gnu/bash/bash-${PKG_BASH_VERSION}.tar.gz}; : ${PKG_BASH_CONFIGURE_ARGS_EXTRA:="--without-bash-malloc --with-curses"}; : ${PKG_BASH_MAKEFLAGS_BUILD:=-j1}; -: ${PKG_BC_SHA256SUM:=7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc}; -: ${PKG_BC_VERSION:=1.06.95}; -: ${PKG_BC_URL:=http://alpha.gnu.org/gnu/bc/bc-${PKG_BC_VERSION}.tar.bz2}; +: ${PKG_BC_SHA256SUM:=62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a}; +: ${PKG_BC_VERSION:=1.07.1}; +: ${PKG_BC_URL:=https://ftp.gnu.org/gnu/bc/bc-${PKG_BC_VERSION}.tar.gz}; : ${PKG_BUSYBOX_DEPENDS:="libarchive"}; : ${PKG_BUSYBOX_SHA256SUM:=ad0d22033f23e696f9a71a4c2f9210194dda39b024a79151f4ac278995332a6e}; : ${PKG_BUSYBOX_VERSION:=1.28.3}; diff --git a/patches/bc-1.07.1_pre.local.patch b/patches/bc-1.07.1_pre.local.patch new file mode 100644 index 00000000..778526d6 --- /dev/null +++ b/patches/bc-1.07.1_pre.local.patch @@ -0,0 +1,75 @@ +diff -ru bc-1.07.1.orig/bc/Makefile.in bc-1.07.1/bc/Makefile.in +--- bc-1.07.1.orig/bc/Makefile.in 2017-04-07 22:20:01.000000000 +0000 ++++ bc-1.07.1/bc/Makefile.in 2021-09-11 11:28:55.257421400 +0000 +@@ -272,8 +272,7 @@ + EXTRA_DIST = bc.h bcdefs.h const.h fix-libmath_h global.h libmath.b proto.h \ + sbc.y + +-noinst_HEADERS = libmath.h +-DISTCLEANFILES = sbc sbc.c sbc.h libmath.h ++DISTCLEANFILES = sbc sbc.c sbc.h + MAINTAINERCLEANFILES = Makefile.in bc.c bc.h scan.c \ + bc.y bcdefs.h const.h execute.c fix-libmath_h \ + global.c global.h libmath.b load.c main.c \ +@@ -619,10 +618,9 @@ + uninstall-binPROGRAMS + + +-$(PROGRAMS): libmath.h $(LIBBC) ++$(PROGRAMS): $(LIBBC) + + scan.o: bc.h +-global.o: libmath.h + + libmath.h: libmath.b $(fbcOBJ) $(LIBBC) + echo '{0}' > libmath.h +diff -Nru bc-1.07.1.orig/bc/libmath.h bc-1.07.1/bc/libmath.h +--- bc-1.07.1.orig/bc/libmath.h 1970-01-01 00:00:00.000000000 +0000 ++++ bc-1.07.1/bc/libmath.h 2021-09-11 10:41:42.348936000 +0000 +@@ -0,0 +1,46 @@ ++{"@iK20:s2:p@r", ++"@iF1,5.6,7,8,9,10,11,12,13,14,15[l0:KA:#Z1:l0:s7:pKA:s0:pl5:C1,0:", ++"s14:pl7:s0:pl14:RN1:l5:0Z4:l10:1+s10:pl5:K2:/s5:pl2:", ++"1+s2:pJ3:N4:l13:s2:p1l5:+s14:pl5:s6:p1s8:pK2:s11:pN6:1B7:J5:N8:", ++"l11:i11:pJ6:N7:l6:l5:*s6:l8:l11:*s8:/s9:pl9:0=Z9:l10:0>Z10:N11:", ++"l10:d10:Z12:l14:l14:*s14:pJ11:N12:N10:l15:s2:pl12:Z13:1l14:/R", ++"N13:l14:1/RN9:l14:l9:+s14:pJ8:N5:0R]@r", ++"@iF2,5.7,9,10,11,12,13,14,15[l0:KA:#Z1:l0:s7:pKA:s0:pl5:C2,0:", ++"s14:pl7:s0:pl14:RN1:l5:0{Z2:1K10:l2:^-1/RN2:l2:s15:pK6:l2:+s2:", ++"pK2:s10:p0s11:pN3:l5:K2:}Z4:l10:K2:*s10:pl5:cRs5:pJ3:N4:N5:l5:", ++"K.5:{Z6:l10:K2:*s10:pl5:cRs5:pJ5:N6:l5:1-l5:1+/s13:s14:pl13:l13:", ++"*s12:pK3:s11:pN8:1B9:J7:N10:l11:K2:+s11:pJ8:N9:l13:l12:*s13:l11:", ++"/s9:pl9:0=Z11:l10:l14:*s14:pl15:s2:pl14:1/RN11:l14:l9:+s14:pJ10:N7:", ++"0R]@r", ++"@iF3,5.7,9,11,12,13,16,14,15[l0:KA:#Z1:l0:s7:pKA:s0:pl5:C3,0:", ++"s14:pl7:s0:pl14:RN1:l2:s15:pK1.1:l15:*K2:+s2:p1C4,0:s14:pl5:0", ++"Z11:l15:K5:+s2:pK.2:C4,0:s6:pN11:", ++"l15:K3:+s2:pN12:l5:K.2:>Z13:l10:1+s10:pl5:K.2:-1l5:K.2:*+/s5:", ++"pJ12:N13:l5:s13:s14:pl5:nl5:*s16:pK3:s11:pN15:1B16:J14:N17:l11:", ++"K2:+s11:pJ15:N16:l13:l16:*s13:l11:/s9:pl9:0=Z18:l15:s2:pl10:l6:", ++"*l14:+l12:/RN18:l14:l9:+s14:pJ17:N14:0R]@r", ++"@iF6,13,5.6,7,8,9,10,11,12,16,14,15[l0:KA:#Z1:l0:s7:pKA:s0:pl13:", ++"l5:C6,00:s14:pl7:s0:pl14:RN1:l2:s15:p0s2:pl13:1/s13:pl13:0