git: 3ea7be086ae3 - main - net/liblinphone: Update to 5.1.56

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Mon, 05 Sep 2022 16:37:18 UTC
The branch main has been updated by zirias:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ea7be086ae3596f8226808c8702f5daa0b4e7c7

commit 3ea7be086ae3596f8226808c8702f5daa0b4e7c7
Author:     Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2022-08-24 09:14:48 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2022-09-05 16:36:20 +0000

    net/liblinphone: Update to 5.1.56
    
    Changelog: https://gitlab.linphone.org/BC/public/liblinphone/-/tags
    
    PR:                     266018
    Approved by:            bofh (maintainer, via IRC), tcberner (mentor)
    Differential Revision:  https://reviews.freebsd.org/D36458
---
 net/liblinphone/Makefile                   |  5 ++---
 net/liblinphone/distinfo                   |  6 +++---
 net/liblinphone/files/patch-CMakeLists.txt | 15 +++++++++++++++
 3 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/net/liblinphone/Makefile b/net/liblinphone/Makefile
index f6723c31e25a..44b344a46ac0 100644
--- a/net/liblinphone/Makefile
+++ b/net/liblinphone/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	liblinphone
-DISTVERSION=	5.1.32
-PORTREVISION=	1
+DISTVERSION=	5.1.56
 CATEGORIES=	net
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -29,7 +28,7 @@ USES=		cmake gnome iconv pkgconfig python:build sqlite
 USE_GITLAB=	yes
 GL_SITE=	https://gitlab.linphone.org/BC
 GL_ACCOUNT=	public
-GL_COMMIT=	05b13b98229fc69ed3075916857dbe32b60b2b39
+GL_COMMIT=	c5d52f725840bceca36874f480d86bdbb91f5b7e
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 
diff --git a/net/liblinphone/distinfo b/net/liblinphone/distinfo
index d2801d5835d9..4a28ecd4b2c7 100644
--- a/net/liblinphone/distinfo
+++ b/net/liblinphone/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657714936
-SHA256 (public-liblinphone-05b13b98229fc69ed3075916857dbe32b60b2b39_GL0.tar.gz) = 9458a11c0bcc4496ff321c13f529394aec358f954e07c5d71ebf73f0d85e69d6
-SIZE (public-liblinphone-05b13b98229fc69ed3075916857dbe32b60b2b39_GL0.tar.gz) = 22753242
+TIMESTAMP = 1661328845
+SHA256 (public-liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e_GL0.tar.gz) = e7f680c2eb46bd751245250f0a22074dbf219dd2955362620c9ba63a6e76351e
+SIZE (public-liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e_GL0.tar.gz) = 22756256
diff --git a/net/liblinphone/files/patch-CMakeLists.txt b/net/liblinphone/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..a5b264a5dbb0
--- /dev/null
+++ b/net/liblinphone/files/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+Fix compilation error:
+
+src/core/core.cpp:428:2: error: void function 'doLater' should not return a
+value [-Wreturn-type]
+--- CMakeLists.txt.orig	2022-08-24 08:22:37 UTC
++++ CMakeLists.txt
+@@ -320,7 +320,7 @@ else()
+ 	list(APPEND STRICT_OPTIONS_CPP
+ 		"-Wall"
+ 		"-Wconversion"
+-		"-Werror=return-type"
++		"-Wno-error=return-type"
+ 		"-Winit-self"
+ 		"-Wno-error=deprecated-declarations"
+ 		"-Wpointer-arith"