git: 509a39781023 - main - net/pjsip: Update to 2.12

From: Guido Falsi <madpilot_at_FreeBSD.org>
Date: Wed, 02 Mar 2022 08:21:20 UTC
The branch main has been updated by madpilot:

URL: https://cgit.FreeBSD.org/ports/commit/?id=509a397810239651760ec571893850bdcb5a98bc

commit 509a397810239651760ec571893850bdcb5a98bc
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2022-03-02 08:20:56 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2022-03-02 08:20:56 +0000

    net/pjsip: Update to 2.12
---
 net/pjsip/Makefile               |  3 +--
 net/pjsip/distinfo               |  6 +++---
 net/pjsip/files/patch-Makefile   | 11 -----------
 net/pjsip/files/patch-aconfigure | 10 +++++-----
 4 files changed, 9 insertions(+), 21 deletions(-)

diff --git a/net/pjsip/Makefile b/net/pjsip/Makefile
index c4ea20871383..8f11f4fd4611 100644
--- a/net/pjsip/Makefile
+++ b/net/pjsip/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pjsip
-DISTVERSION=	2.11.1
-PORTREVISION=	1
+DISTVERSION=	2.12
 CATEGORIES=	net
 
 MAINTAINER=	madpilot@FreeBSD.org
diff --git a/net/pjsip/distinfo b/net/pjsip/distinfo
index 8ece1bcfa367..b006fbdebed7 100644
--- a/net/pjsip/distinfo
+++ b/net/pjsip/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1627082293
-SHA256 (pjsip-pjproject-2.11.1_GH0.tar.gz) = 45f6604372df3f49293749cd7c0b42cb21c4fb666c66f8ed9765de004d1eae38
-SIZE (pjsip-pjproject-2.11.1_GH0.tar.gz) = 8968747
+TIMESTAMP = 1645723790
+SHA256 (pjsip-pjproject-2.12_GH0.tar.gz) = b3b94d9be4aba8f6d2d1cb164603e81b0a6ee17352f9e2ba5b58e325e610ca5a
+SIZE (pjsip-pjproject-2.12_GH0.tar.gz) = 9658564
diff --git a/net/pjsip/files/patch-Makefile b/net/pjsip/files/patch-Makefile
deleted file mode 100644
index 06c774de3e4d..000000000000
--- a/net/pjsip/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig	2021-03-17 07:34:46 UTC
-+++ Makefile
-@@ -123,7 +123,7 @@ install:
- 	mkdir -p $(DESTDIR)$(libdir)/
- 	cp -af $(APP_LIB_FILES) $(DESTDIR)$(libdir)/
- 	if [ "$(PJ_EXCLUDE_PJSUA2)x" = "x" ] ; then \
--	    cp -af $(PJ_DIR)/pjsip/lib/libpjsua2-$(LIB_SUFFIX) $(DESTDIR)$(libdir)/; \
-+	    cp -af $(APP_LIBXX_FILES) $(DESTDIR)$(libdir)/; \
- 	fi
- 	mkdir -p $(DESTDIR)$(includedir)/
- 	for d in pjlib pjlib-util pjnath pjmedia pjsip; do \
diff --git a/net/pjsip/files/patch-aconfigure b/net/pjsip/files/patch-aconfigure
index 11deecbcd04d..936484fa4516 100644
--- a/net/pjsip/files/patch-aconfigure
+++ b/net/pjsip/files/patch-aconfigure
@@ -1,15 +1,15 @@
---- aconfigure.orig	2021-03-17 07:34:46 UTC
+--- aconfigure.orig	2022-02-24 07:54:38 UTC
 +++ aconfigure
-@@ -7151,7 +7151,7 @@ else
+@@ -7888,7 +7888,7 @@ else $as_nop
  			FFMPEG_PREFIX=$with_ffmpeg
- 			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5
- $as_echo "Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; }
+ 			{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5
+ printf "%s\n" "Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; }
 -			export PKG_CONFIG_PATH=$FFMPEG_PREFIX/lib/pkgconfig
 +			export PKG_CONFIG_PATH=$FFMPEG_PREFIX/libdata/pkgconfig
  		fi
  
  		for ac_prog in pkg-config "python pkgconfig.py"
-@@ -9162,7 +9162,7 @@ $as_echo "Checking if libwebrtc is disabled...no" >&6;
+@@ -9941,7 +9941,7 @@ printf "%s\n" "Checking if libwebrtc is disabled...no"
  			ac_webrtc_instset=sse2
  			ac_webrtc_cflags="-msse2"
  			;;