diff --git a/debian/resources/switch/source-release.sh b/debian/resources/switch/source-release.sh index a355bc4..6f35151 100755 --- a/debian/resources/switch/source-release.sh +++ b/debian/resources/switch/source-release.sh @@ -96,6 +96,9 @@ cd /usr/src/freeswitch # bootstrap is needed if using git #./bootstrap.sh -j +#apply patch +patch -u /usr/src/freeswitch/src/mod/databases/mod_pgsql/mod_pgsql.c -i "$(dirname $0)/source/mod_pgsql.patch" + # enable required modules #sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_avmd:applications/mod_avmd:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_callcenter:applications/mod_callcenter:'