Commit 0fe717eb authored by Jamie Magee's avatar Jamie Magee
Browse files

wayneko: fix build with GCC 14

GCC 14 treats -Wincompatible-pointer-types as an error.
The upstream noop() stub has an unspecified parameter list,
which mismatches the Wayland listener callback signatures.
Upstream is inactive, so suppress the error for now.

Resolves #501211
parent f95721a7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,8 @@ stdenv.mkDerivation {
    hash = "sha256-2cbEcDK6WZPe4HvY1pxmZVyDAj617VP1l0Gn7uSlNaE=";
  };

  env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";

  postPatch = ''
    substituteInPlace Makefile \
      --replace-fail -Werror ""