Skip to content

Commit

Permalink
libstroke: fix build with gcc14 (#358142)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor authored Nov 30, 2024
2 parents 2885c26 + ea103a0 commit 57feb2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/by-name/li/libstroke/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
sha256 = "0bbpqzsqh9zrc6cg62f6vp1p4dzvv37blsd0gdlzdskgwvyzba8d";
};

postPatch = ''
sed -i 1i'#include <string.h>' libstroke/stroke.c
'';

nativeBuildInputs = [ automake autoconf ];
buildInputs = [ libX11 ];

Expand Down

0 comments on commit 57feb2a

Please sign in to comment.