tuxpaint: fix build w/ glibc-2.44

Failing Hydra build: https://hydra.nixos.org/build/344213768

While the same patch is also upstream[1], I didn't really get how to
extract .patch files from sourceforge, so I used the Gentoo vendored
patch instead, contents are the same.

[1] 6271edecec/
This commit is contained in:
Maximilian Bosch
2026-09-08 14:28:21 +02:00
parent d097fa8774
commit 48484b56c7

View File

@@ -23,6 +23,7 @@
SDL2_Pango,
SDL2_ttf,
netpbm,
fetchpatch,
}:
let
@@ -50,6 +51,15 @@ stdenv.mkDerivation (finalAttrs: {
strictDeps = true;
patches = [
# Fix build w/ glibc-2.44
# https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c28b814990551897631be7a222af2d922030a9
(fetchpatch {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-gfx/tuxpaint/files/tuxpaint-0.9.35-glibc-2.43.patch?id=51c28b814990551897631be7a222af2d922030a9";
hash = "sha256-xkV73GoCd/epeyWfLHq2MNmRNfKaledoFsukwVKiZSI=";
})
];
nativeBuildInputs = [
gettext
gperf