Commit db11dccb authored by Marian Buschsieweke's avatar Marian Buschsieweke Committed by Ariadne Conill
Browse files

community/newlib: upgrade to 4.1.0

Also disable MIPS for now, as compilation fails
parent 6b03d332
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de> # Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# mips-mti-elf fails with "Error: unrecognized opcode `cfc1 $3,$31'"
_targets=" _targets="
arm-none-eabi arm-none-eabi
mips-mti-elf
msp430-elf msp430-elf
riscv-none-elf riscv-none-elf
aarch64-none-elf aarch64-none-elf
...@@ -12,8 +12,8 @@ case "$CARCH" in ...@@ -12,8 +12,8 @@ case "$CARCH" in
x86_64|aarch64|ppc64le|mips64) _targets="$_targets or1k-elf" x86_64|aarch64|ppc64le|mips64) _targets="$_targets or1k-elf"
esac esac
pkgname=newlib pkgname=newlib
pkgver=3.3.0 pkgver=4.1.0
pkgrel=2 pkgrel=0
pkgdesc="C standard library implementation intended for use on embedded systems" pkgdesc="C standard library implementation intended for use on embedded systems"
url="http://www.sourceware.org/newlib/" url="http://www.sourceware.org/newlib/"
makedepends="texinfo" makedepends="texinfo"
...@@ -28,6 +28,10 @@ for target in $_targets; do ...@@ -28,6 +28,10 @@ for target in $_targets; do
makedepends="binutils-$target gcc-$target $makedepends" makedepends="binutils-$target gcc-$target $makedepends"
done done
# secfixes:
# 4.1.0-r0:
# - CVE-2021-3420
# This package installes two version of the newlib library to remain compatible # This package installes two version of the newlib library to remain compatible
# with projects expecting the GNU ARM Embedded Toolchain [1]. The nano version # with projects expecting the GNU ARM Embedded Toolchain [1]. The nano version
# appends the postix "_nano" to the libaries. The is not an arbitrary choice, # appends the postix "_nano" to the libaries. The is not an arbitrary choice,
...@@ -154,4 +158,6 @@ aarch64_none_elf() { ...@@ -154,4 +158,6 @@ aarch64_none_elf() {
_install_subpkg _install_subpkg
} }
sha512sums="2f0c6666487520e1a0af0b6935431f85d2359e27ded0d01d02567d0d1c6479f2f0e6bbc60405e88e46b92c2a18780a01a60fc9281f7e311cfd40b8d5881d629c newlib-3.3.0.tar.gz" sha512sums="
6a24b64bb8136e4cd9d21b8720a36f87a34397fd952520af66903e183455c5cf19bb0ee4607c12a05d139c6c59382263383cb62c461a839f969d23d3bc4b1d34 newlib-4.1.0.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment