summarylogtreecommitdiffstats
path: root/fix-upnp.patch
diff options
context:
space:
mode:
authorNigel Kukard2023-03-13 15:04:44 +0000
committerNigel Kukard2023-03-13 15:25:41 +0000
commitbb74c25a9194ed9c05a33307cc7ca6f37edae4a9 (patch)
treed074e9998597b9d6b9f38d0f1735535710f71c71 /fix-upnp.patch
parentf07ad2d5d487b5c82d206dc1a7d8b61cc5408420 (diff)
downloadaur-bb74c25a9194ed9c05a33307cc7ca6f37edae4a9.tar.gz
fix: added patch to fix compiling on systems with libupnp installed
Diffstat (limited to 'fix-upnp.patch')
-rw-r--r--fix-upnp.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/fix-upnp.patch b/fix-upnp.patch
new file mode 100644
index 000000000000..f0eabb6ebe37
--- /dev/null
+++ b/fix-upnp.patch
@@ -0,0 +1,14 @@
+severach commented on 2023-03-12 22:02 (UTC)
+The update of third-party/{pjproject,versions.mak} from 2.12.1 to 2.13 is detecting libupnp on the system, usually from vlc, found on desktop systems, not found on Asterisk servers. This changes pjnath to -DPJNATH_HAS_UPNP=1 which causes -lupnp -lixml. Fix with this patch.
+
+diff --color -ru asterisk-20.2.0_vanilla/third-party/pjproject/Makefile.rules asterisk-20.2.0_libupnp-fix/third-party/pjproject/Makefile.rules
+--- asterisk-20.2.0_vanilla/third-party/pjproject/Makefile.rules 2023-03-09 17:17:03.000000000 +0000
++++ asterisk-20.2.0_libupnp-fix/third-party/pjproject/Makefile.rules 2023-03-13 14:49:56.566284230 +0000
+@@ -15,6 +15,7 @@
+ # Even though we're not installing pjproject, we're setting prefix to /opt/pjproject to be safe
+
+ PJPROJECT_CONFIG_OPTS = $(PJPROJECT_CONFIGURE_OPTS) --prefix=/opt/pjproject \
++ --disable-upnp \
+ --disable-speex-codec \
+ --disable-speex-aec \
+ --disable-bcg729 \