Unverified Commit 57feb2a1 authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

libstroke: fix build with gcc14 (#358142)

parents 2885c268 ea103a02
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
    sha256 = "0bbpqzsqh9zrc6cg62f6vp1p4dzvv37blsd0gdlzdskgwvyzba8d";
  };

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

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