From 48e2bc7ca86fedd70182d24df562863ba13243bd Mon Sep 17 00:00:00 2001 From: misuzu Date: Sat, 14 Jun 2025 11:04:35 +0300 Subject: [PATCH] freeswitch: fix build with gcc14 --- pkgs/by-name/fr/freeswitch/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/fr/freeswitch/package.nix b/pkgs/by-name/fr/freeswitch/package.nix index c3c801c2c3ef..06fa719b7579 100644 --- a/pkgs/by-name/fr/freeswitch/package.nix +++ b/pkgs/by-name/fr/freeswitch/package.nix @@ -158,7 +158,11 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - env.NIX_CFLAGS_COMPILE = "-Wno-error"; + env.NIX_CFLAGS_COMPILE = toString [ + "-Wno-error" + # https://github.com/signalwire/freeswitch/issues/2495 + "-Wno-incompatible-pointer-types" + ]; # Using c++14 because of build error # gsm_at.h:94:32: error: ISO C++17 does not allow dynamic exception specifications