xzoom: fix gcc-14
include `unistd.h` to fix implicit function declaration errors
This commit is contained in:
@@ -26,6 +26,10 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 1i'#include <unistd.h>' xzoom.c
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
imake
|
||||
gccmakedep
|
||||
|
||||
Reference in New Issue
Block a user