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
This commit is contained in:
@@ -19,6 +19,8 @@ stdenv.mkDerivation {
|
||||
hash = "sha256-2cbEcDK6WZPe4HvY1pxmZVyDAj617VP1l0Gn7uSlNaE=";
|
||||
};
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace-fail -Werror ""
|
||||
|
||||
Reference in New Issue
Block a user