Merge pull request #89552 from helsinki-systems/freeswitch-banners

freeswitch: Disable advertisement banners
This commit is contained in:
Lassulus 2020-06-06 11:30:22 +02:00 committed by GitHub
commit d7e2f2cd47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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