From eab71dfe5bd8273e57ccf6a83adc713d56bf2dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Fri, 5 Jun 2020 18:39:51 +0200 Subject: [PATCH] freeswitch: Disable advertisement banners These are banners about a conference nobody cares about. They just spam the journal without being interesting to anyone. --- pkgs/servers/sip/freeswitch/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/servers/sip/freeswitch/default.nix b/pkgs/servers/sip/freeswitch/default.nix index 46ef6bcfac5e..3e9563841bd2 100644 --- a/pkgs/servers/sip/freeswitch/default.nix +++ b/pkgs/servers/sip/freeswitch/default.nix @@ -101,6 +101,14 @@ stdenv.mkDerivation rec { patchShebangs libs/libvpx/build/make/rtcd.pl substituteInPlace libs/libvpx/build/make/configure.sh \ --replace AS=\''${AS} AS=yasm + + # Disable advertisement banners + for f in src/include/cc.h libs/esl/src/include/cc.h; do + { + echo 'const char *cc = "";' + echo 'const char *cc_s = "";' + } > $f + done ''; nativeBuildInputs = [ pkgconfig autoreconfHook ];