Unverified Commit 18cff5e9 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

gatling: fix build with gcc14 (#393827)

parents 6f316e6e fb747110
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -30,8 +30,10 @@ stdenv.mkDerivation rec {
  ];

  configurePhase = ''
    substituteInPlace Makefile --replace "/usr/local" "$out"
    substituteInPlace GNUmakefile --replace "/opt/diet" "$out"
    substituteInPlace Makefile --replace-fail "/usr/local" "$out"
    substituteInPlace GNUmakefile --replace-fail "/opt/diet" "$out"
    substituteInPlace tryalloca.c --replace-fail "main() {" "int main() {"
    substituteInPlace trysocket.c --replace-fail "main() {" "int main() {"
  '';

  buildPhase = ''