libstroke: fix build with gcc14
> stroke.c:267:5: error: implicit declaration of function 'strcpy' fix by including `string.h`. code seems abandoned but is still used by a handful of packages.
This commit is contained in:
parent
4e7bbd80cc
commit
ea103a02af
@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0bbpqzsqh9zrc6cg62f6vp1p4dzvv37blsd0gdlzdskgwvyzba8d";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i 1i'#include <string.h>' libstroke/stroke.c
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ automake autoconf ];
|
||||
buildInputs = [ libX11 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user