diff options
author | Janne Heß <janne@hess.ooo> | 2020-06-05 18:39:51 +0200 |
---|---|---|
committer | Janne Heß <janne@hess.ooo> | 2020-06-05 18:39:51 +0200 |
commit | eab71dfe5bd8273e57ccf6a83adc713d56bf2dc3 (patch) | |
tree | f41899e77ad9373c731d73f90df9078e4e59810a /pkgs/servers/sip/freeswitch | |
parent | 7048a817b2185e9d51c218cfd552de21ddc437cb (diff) | |
download | nixpkgs-eab71dfe5bd8273e57ccf6a83adc713d56bf2dc3.tar nixpkgs-eab71dfe5bd8273e57ccf6a83adc713d56bf2dc3.tar.gz nixpkgs-eab71dfe5bd8273e57ccf6a83adc713d56bf2dc3.tar.bz2 nixpkgs-eab71dfe5bd8273e57ccf6a83adc713d56bf2dc3.tar.lz nixpkgs-eab71dfe5bd8273e57ccf6a83adc713d56bf2dc3.tar.xz nixpkgs-eab71dfe5bd8273e57ccf6a83adc713d56bf2dc3.tar.zst nixpkgs-eab71dfe5bd8273e57ccf6a83adc713d56bf2dc3.zip |
freeswitch: Disable advertisement banners
These are banners about a conference nobody cares about. They just spam the journal without being interesting to anyone.
Diffstat (limited to 'pkgs/servers/sip/freeswitch')
-rw-r--r-- | pkgs/servers/sip/freeswitch/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/servers/sip/freeswitch/default.nix b/pkgs/servers/sip/freeswitch/default.nix index 46ef6bcfac5..3e9563841bd 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 ]; |