mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 03:10:19 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user