libtcod: fix build

Fixes missing libX11 dependency after 7aeac03f40021f4b213d460ef5813e52184368db.

Ignores the implicit-int and incompatible-pointer-types warnings.

eilvelia 8b057ae9 ec9ef366

+7
+7
pkgs/by-name/li/libtcod/package.nix
··· 6 6 SDL, 7 7 libGLU, 8 8 libGL, 9 + libX11, 9 10 upx, 10 11 zlib, 11 12 }: ··· 36 37 SDL 37 38 libGLU 38 39 libGL 40 + libX11 39 41 upx 40 42 zlib 43 + ]; 44 + 45 + env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " [ 46 + "-Wno-error=implicit-int" 47 + "-Wno-error=incompatible-pointer-types" 41 48 ]; 42 49 43 50 meta = {