Merge pull request #266567 from wegank/pygame-clang-16

python311Packages.pygame: fix build with clang 16

Changed files
+4
pkgs
development
python-modules
pygame
+4
pkgs/development/python-modules/pygame/default.nix
···
${python.pythonOnBuildForHost.interpreter} buildconfig/config.py
'';
+
env = lib.optionalAttrs stdenv.cc.isClang {
+
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-function-pointer-types";
+
};
+
checkPhase = ''
runHook preCheck