Merge pull request #89552 from helsinki-systems/freeswitch-banners
freeswitch: Disable advertisement banners
This commit is contained in:
commit
d7e2f2cd47
|
@ -101,6 +101,14 @@ stdenv.mkDerivation rec {
|
||||||
patchShebangs libs/libvpx/build/make/rtcd.pl
|
patchShebangs libs/libvpx/build/make/rtcd.pl
|
||||||
substituteInPlace libs/libvpx/build/make/configure.sh \
|
substituteInPlace libs/libvpx/build/make/configure.sh \
|
||||||
--replace AS=\''${AS} AS=yasm
|
--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 ];
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user