freeswitch: Disable advertisement banners

These are banners about a conference nobody cares about. They just spam
the journal without being interesting to anyone.
This commit is contained in:
Janne Heß 2020-06-05 18:39:51 +02:00
parent 7048a817b2
commit eab71dfe5b
No known key found for this signature in database
GPG key ID: 69165158F05265DF

View file

@ -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 ];