From 1cf3f3c14b01f21ecf9188a8d6b2a7b66a1b2f27 Mon Sep 17 00:00:00 2001 From: "Alexander V. Nikolaev" Date: Tue, 7 Jan 2025 22:04:51 +0200 Subject: [PATCH] xawtv: Fix compilation with gcc 14.2 --- pkgs/by-name/xa/xawtv/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/xa/xawtv/package.nix b/pkgs/by-name/xa/xawtv/package.nix index 3a4da5eb0eaa2f..5b849886ce2097 100644 --- a/pkgs/by-name/xa/xawtv/package.nix +++ b/pkgs/by-name/xa/xawtv/package.nix @@ -33,6 +33,10 @@ stdenv.mkDerivation rec { ./0001-Fix-build-for-glibc-2.32.patch ]; + postPatch = '' + sed -i '1i #include ' debug/xvideo.c + ''; + buildInputs = [ ncurses libjpeg