Skip to content

Commit 6b44c59

Browse files
authored
3proxy: fixup build with gcc14 (NixOS#367714)
2 parents 0429fa5 + 75e16a4 commit 6b44c59

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/by-name/_3/_3proxy/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ stdenv.mkDerivation rec {
3535
rm -fr $out/var
3636
'';
3737

38+
# common.c:208:9: error: initialization of 'int (*)(struct pollfd *, unsigned int, int)' from incompatible pointer type 'int (*)(struct pollfd *, nfds_t, int)' {aka 'int (*)(struct pollfd *, long unsigned int, int)'}
39+
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
40+
3841
passthru.tests = {
3942
smoke-test = nixosTests._3proxy;
4043
};

0 commit comments

Comments
 (0)