streamripper: fix build (#494133)

This commit is contained in:
Michael Daniels
2026-02-28 17:31:49 +00:00
committed by GitHub
+8
View File
@@ -35,6 +35,13 @@ stdenv.mkDerivation rec {
patch = "873964-http";
hash = "sha256-D6koUCbnJHtRuq2zZy9VrxymuGXN1COacbQhphgB8qo=";
})
# fix build with gcc 15
(fetchDebianPatch {
inherit pname version;
debianRevision = "4";
patch = "1097944-gcc15";
hash = "sha256-yBFDxd2sNlavQDmg/MCORFdpJY8p1Lzo131T4sBby5g=";
})
# fix SR_ERROR_INVALID_METADATA caused by HTTP chunking
# (https://sourceforge.net/p/streamripper/bugs/193/#6a82)
(fetchpatch {
@@ -57,5 +64,6 @@ stdenv.mkDerivation rec {
description = "Application that lets you record streaming mp3 to your hard drive";
license = lib.licenses.gpl2;
mainProgram = "streamripper";
maintainers = with lib.maintainers; [ cybershadow ];
};
}