streamripper: fix build

It broke with gcc 14. As a bonus, I also fetch a bugfix patch.

+18 -4
+18 -4
pkgs/by-name/st/streamripper/package.nix
··· 2 lib, 3 stdenv, 4 fetchurl, 5 glib, 6 pkg-config, 7 libogg, ··· 18 sha256 = "0hnyv3206r0rfprn3k7k6a0j959kagsfyrmyjm3gsf3vkhp5zmy1"; 19 }; 20 21 nativeBuildInputs = [ pkg-config ]; 22 buildInputs = [ 23 glib 24 libogg 25 libvorbis 26 libmad 27 - ]; 28 - 29 - makeFlags = [ 30 - "AR:=$(AR)" 31 ]; 32 33 meta = with lib; {
··· 2 lib, 3 stdenv, 4 fetchurl, 5 + fetchDebianPatch, 6 glib, 7 pkg-config, 8 libogg, ··· 19 sha256 = "0hnyv3206r0rfprn3k7k6a0j959kagsfyrmyjm3gsf3vkhp5zmy1"; 20 }; 21 22 + patches = [ 23 + # fix build with gcc 14 24 + (fetchDebianPatch { 25 + inherit pname version; 26 + debianRevision = "2"; 27 + patch = "1075541-gcc14"; 28 + hash = "sha256-30bz7CDmbq+Bd+jTKSq7aJsXUJQAQp3nnJZvt3Qbp8Q="; 29 + }) 30 + # fix parse of URIs containing colons (https://bugs.debian.org/873964) 31 + (fetchDebianPatch { 32 + inherit pname version; 33 + debianRevision = "2"; 34 + patch = "873964-http"; 35 + hash = "sha256-D6koUCbnJHtRuq2zZy9VrxymuGXN1COacbQhphgB8qo="; 36 + }) 37 + ]; 38 + 39 nativeBuildInputs = [ pkg-config ]; 40 buildInputs = [ 41 glib 42 libogg 43 libvorbis 44 libmad 45 ]; 46 47 meta = with lib; {