From 9fabc661e63edce224ab00976dc97f2ff84e9a28 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Fri, 18 Mar 2022 11:20:55 -0600 Subject: [PATCH] Apply the mod_pgsql.patch --- debian/resources/switch/source-release.sh | 3 +++ 1 file changed, 3 insertions(+) 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:'