mawk: 1.3.4-20230203 -> 1.3.4-20230525

Upgrade to fix random segfault.

Before:

  $ nix-build -A mawk && for i in $(seq 10); do printf "i=$i "; echo PASS | ./result/bin/mawk -W interactive '{ print }'; done
  /nix/store/zyxgmjyb8ii282lx8g64dhd8y9k3rzd6-mawk-1.3.4-20230203
  i=1 PASS
  i=2 PASS
  i=3 Segmentation fault (core dumped)
  i=4 Segmentation fault (core dumped)
  i=5 Segmentation fault (core dumped)
  i=6 Segmentation fault (core dumped)
  i=7 Segmentation fault (core dumped)
  i=8 PASS
  i=9 Segmentation fault (core dumped)
  i=10 PASS

After:

  $ nix-build -A mawk && for i in $(seq 10); do printf "i=$i "; echo PASS | ./result/bin/mawk -W interactive '{ print }'; done
  /nix/store/dn4mcifn50a6z3g482by0d988zwms0yq-mawk-1.3.4-20230525
  i=1 PASS
  i=2 PASS
  i=3 PASS
  i=4 PASS
  i=5 PASS
  i=6 PASS
  i=7 PASS
  i=8 PASS
  i=9 PASS
  i=10 PASS

Upstream changelog: https://invisible-island.net/mawk/CHANGES
This commit is contained in:
Bjørn Forsman 2023-07-13 08:58:53 +02:00 committed by Emery Hemingway
parent 3cf59a3c25
commit 112dc82132

View File

@ -2,14 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mawk"; pname = "mawk";
version = "1.3.4-20230203"; version = "1.3.4-20230525";
src = fetchurl { src = fetchurl {
urls = [ urls = [
"ftp://ftp.invisible-island.net/mawk/mawk-${version}.tgz" "ftp://ftp.invisible-island.net/mawk/mawk-${version}.tgz"
"https://invisible-mirror.net/archives/mawk/mawk-${version}.tgz" "https://invisible-mirror.net/archives/mawk/mawk-${version}.tgz"
]; ];
sha256 = "sha256-bbejKsecURB60xpAfU+SxrhC3eL2inUztOe3sD6JAL4="; sha256 = "sha256-VjnRS7kSQ3Oz1/lX0rklrYrZZW1GISw/I9vKgQzJJp8=";
}; };
depsBuildBuild = [ buildPackages.stdenv.cc ]; depsBuildBuild = [ buildPackages.stdenv.cc ];