Skip to content

Commit

Permalink
xawtv: Fix compilation with gcc 14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
avnik committed Jan 8, 2025
1 parent 5634f52 commit 1cf3f3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/by-name/xa/xawtv/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ stdenv.mkDerivation rec {
./0001-Fix-build-for-glibc-2.32.patch
];

postPatch = ''
sed -i '1i #include <stdlib.h>' debug/xvideo.c
'';

buildInputs = [
ncurses
libjpeg
Expand Down

0 comments on commit 1cf3f3c

Please sign in to comment.