Skip to content

Commit 57feb2a

Browse files
authored
libstroke: fix build with gcc14 (#358142)
2 parents 2885c26 + ea103a0 commit 57feb2a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/by-name/li/libstroke/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
1515
sha256 = "0bbpqzsqh9zrc6cg62f6vp1p4dzvv37blsd0gdlzdskgwvyzba8d";
1616
};
1717

18+
postPatch = ''
19+
sed -i 1i'#include <string.h>' libstroke/stroke.c
20+
'';
21+
1822
nativeBuildInputs = [ automake autoconf ];
1923
buildInputs = [ libX11 ];
2024

0 commit comments

Comments
 (0)