summaryrefslogtreecommitdiffstats
path: root/package/asterisk/0004-install-samples-need-the-data-files.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2018-10-14 11:01:55 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-09 22:23:08 +0100
commit78790d3e9c37cb7fc75b03305f5ae4af30e566b6 (patch)
tree49cd02d092ff8013ace5773e186902bf66fd7e6c /package/asterisk/0004-install-samples-need-the-data-files.patch
parentc48bff9da6101bff35ff420030e5ab2c430352b4 (diff)
downloadbuildroot-78790d3e9c37cb7fc75b03305f5ae4af30e566b6.tar.gz
buildroot-78790d3e9c37cb7fc75b03305f5ae4af30e566b6.zip
package/asterisk: bump version to 16.0.0
- removed patches applied upstream, re-numbered remaining patches - not available for static builds anymore: https://github.com/asterisk/asterisk/commit/8e36064109b6fabc6cd8caa59e48f9b523c7485b - fixed license hashes after upstream whitespace removal https://github.com/asterisk/asterisk/commit/fd0ca1c3f9b972a52d48a82b492fd6bac772dc78 - removed configure options not provided by upstream anymore - fixed configure error, the file is included in asterisk source: checking for bridges/bridge_softmix/include/hrirs.h... configure: error: cannot check for file existence when cross compiling - added "-without-pjproject-bundled" as noted in https://wiki.asterisk.org/wiki/display/AST/New+in+15 - upstream switched from ncurses to libedit: https://github.com/asterisk/asterisk/commit/d6fda173a40e078db219e9aaceb7f3ce9ba1b4e4 - added libatomic when needed - updated core sound package Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/asterisk/0004-install-samples-need-the-data-files.patch')
-rw-r--r--package/asterisk/0004-install-samples-need-the-data-files.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/package/asterisk/0004-install-samples-need-the-data-files.patch b/package/asterisk/0004-install-samples-need-the-data-files.patch
new file mode 100644
index 0000000000..a9560e82e0
--- /dev/null
+++ b/package/asterisk/0004-install-samples-need-the-data-files.patch
@@ -0,0 +1,35 @@
+From 05680ea9899c2246c23d11860c2c8e10aa8f80c7 Mon Sep 17 00:00:00 2001
+From: "Yann E. MORIN" <yann.morin.1998@free.fr>
+Date: Fri, 1 Dec 2017 11:08:16 +0100
+Subject: [PATCH] install: samples need the data files
+
+When installing samples, "sample voicemail" is generated from the
+already-installed sound files.
+
+However, when doing the install and the samples at the same time in a
+parallel install, it is possible that the sound files are not already
+installed at the time we try to generate the voicemail data.
+
+Ensure the needed dependency.
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index f29c07f680..b58f707b61 100644
+--- a/Makefile
++++ b/Makefile
+@@ -779,7 +779,7 @@ adsi:
+ $(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \
+ done
+
+-samples: adsi
++samples: adsi datafiles
+ @echo Installing other config files...
+ $(call INSTALL_CONFIGS,samples,.sample)
+ $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX"
+--
+2.11.0
+
OpenPOWER on IntegriCloud