Переглянути джерело

Fix compile errors use spandsp with a specific commit

FusionPBX 2 роки тому
батько
коміт
671a151dde
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      ubuntu/resources/switch/source-release.sh

+ 2 - 0
ubuntu/resources/switch/source-release.sh

@@ -56,6 +56,8 @@ make install
 cd /usr/src
 cd /usr/src
 git clone https://github.com/freeswitch/spandsp.git spandsp
 git clone https://github.com/freeswitch/spandsp.git spandsp
 cd spandsp
 cd spandsp
+git reset --hard 0d2e6ac65e0e8f53d652665a743015a88bf048d4
+/usr/bin/sed -i 's/AC_PREREQ(\[2\.71\])/AC_PREREQ([2.69])/g' /usr/src/spandsp/configure.ac
 sh autogen.sh
 sh autogen.sh
 ./configure
 ./configure
 make
 make