Unverified Commit 8715fb4f authored by Clément's avatar Clément
Browse files

elvis: unbreak

Disable check for the NEED_WAIT_H macro to always include <sys/wait.h>
as it fails otherwise with gcc14 and newer compilers.
parent 4b194c50
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -42,7 +42,8 @@ stdenv.mkDerivation (finalAttrs: {

  postPatch = ''
    substituteInPlace configure \
      --replace-fail '-lcurses' '-lncurses'
      --replace-fail '-lcurses' '-lncurses' \
      --replace-fail 'if [ -f /usr/include/sys/wait.h ]' 'if true'
  '';

  installPhase = ''