From 43a3ed24a339e160c3716cace865e59cafb9cafd Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 18 Nov 2024 12:02:42 -0700 Subject: [PATCH 1/3] Prevent a compile error for mod_pgsql This change prevents errors. So far testing shows PostgreSQL for what we are using it for still works. --- debian/resources/switch/source-release.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/resources/switch/source-release.sh b/debian/resources/switch/source-release.sh index e9795631..9e39d761 100755 --- a/debian/resources/switch/source-release.sh +++ b/debian/resources/switch/source-release.sh @@ -142,8 +142,7 @@ sed -i /usr/src/freeswitch-$switch_version/modules.conf -e s:'endpoints/mod_vert --with-openssl --enable-core-pgsql-support # compile and install -make -j $(getconf _NPROCESSORS_ONLN) -make install +make -j $(getconf _NPROCESSORS_ONLN) CFLAGS+=-Wno-error && make install #return to the executing directory cd $CWD From 6e29dd769e45685238b972cc29a01d4bf4764247 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 18 Nov 2024 12:03:57 -0700 Subject: [PATCH 2/3] Prevent a compile error for mod_pgsql This change prevents errors. So far testing shows PostgreSQL for what we are using it for still works. --- ubuntu/resources/switch/source-release.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ubuntu/resources/switch/source-release.sh b/ubuntu/resources/switch/source-release.sh index 3db771b0..9619d64b 100755 --- a/ubuntu/resources/switch/source-release.sh +++ b/ubuntu/resources/switch/source-release.sh @@ -109,8 +109,7 @@ sed -i /usr/src/freeswitch-$switch_version/modules.conf -e s:'applications/mod_a --with-openssl --enable-core-pgsql-support # compile and install -make -make install +make -j $(getconf _NPROCESSORS_ONLN) CFLAGS+=-Wno-error && make install #return to the executing directory cd $CWD From 88748ea506f2ac0766b7e04b7bf8b1088ffce892 Mon Sep 17 00:00:00 2001 From: Nick Bhanji Date: Fri, 22 Nov 2024 15:34:51 -0500 Subject: [PATCH 3/3] Update source-release.sh When not using git, it breaks --- ubuntu/resources/switch/source-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu/resources/switch/source-release.sh b/ubuntu/resources/switch/source-release.sh index 9619d64b..680b8c2e 100755 --- a/ubuntu/resources/switch/source-release.sh +++ b/ubuntu/resources/switch/source-release.sh @@ -74,7 +74,7 @@ mv freeswitch-$switch_version.-release freeswitch-$switch_version cd /usr/src/freeswitch-$switch_version # bootstrap is needed if using git -./bootstrap.sh -j +#./bootstrap.sh -j #1.10.0 and newer if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then