Skip to content

Commit

Permalink
xzoom: fix gcc-14 (#369803)
Browse files Browse the repository at this point in the history
  • Loading branch information
7c6f434c authored Jan 2, 2025
2 parents 14f0df0 + 7567925 commit 55a9a29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/by-name/xz/xzoom/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ stdenv.mkDerivation rec {
})
];

postPatch = ''
sed -i 1i'#include <unistd.h>' xzoom.c
'';

nativeBuildInputs = [
imake
gccmakedep
Expand Down

0 comments on commit 55a9a29

Please sign in to comment.