Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2023 23:58:34 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4fd0bdc67785 - main - net/liblinphone: Fix build on HEAD
Message-ID:  <202302112358.31BNwYfQ086481@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4fd0bdc67785d84696ae47dee245382c7aa948e7

commit 4fd0bdc67785d84696ae47dee245382c7aa948e7
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-02-11 23:57:04 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-02-11 23:57:04 +0000

    net/liblinphone: Fix build on HEAD
    
    Reported by:    fbl@aoek.com
---
 net/liblinphone/Makefile                           |  1 +
 net/liblinphone/files/patch-console_linphonec.c    | 25 ++++++++++++++++++++++
 .../files/patch-src_core_paths_paths-linux.cpp     |  6 +++---
 3 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/net/liblinphone/Makefile b/net/liblinphone/Makefile
index d929b3ff58d4..6b9e7fc4e51a 100644
--- a/net/liblinphone/Makefile
+++ b/net/liblinphone/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	liblinphone
 DISTVERSION=	5.1.56
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	bofh@FreeBSD.org
diff --git a/net/liblinphone/files/patch-console_linphonec.c b/net/liblinphone/files/patch-console_linphonec.c
new file mode 100644
index 000000000000..db1497977963
--- /dev/null
+++ b/net/liblinphone/files/patch-console_linphonec.c
@@ -0,0 +1,25 @@
+--- console/linphonec.c.orig	2023-02-11 23:13:07 UTC
++++ console/linphonec.c
+@@ -965,7 +965,7 @@ static int
+  *
+  */
+ static int
+-linphonec_idle_call ()
++linphonec_idle_call (void)
+ {
+ 	LinphoneCore *opm=linphonec;
+ 
+@@ -1274,7 +1274,7 @@ static int
+  *	-1 on error
+  */
+ static int
+-handle_configfile_migration()
++handle_configfile_migration(void)
+ {
+ #if !defined(_WIN32_WCE)
+ 	char *old_cfg_gui;
+@@ -1555,4 +1555,3 @@ lpc_strip_blanks(char *input)
+  *
+  *
+  ****************************************************************************/
+-
diff --git a/net/liblinphone/files/patch-src_core_paths_paths-linux.cpp b/net/liblinphone/files/patch-src_core_paths_paths-linux.cpp
index 6a60af5d95ce..f7270b86f750 100644
--- a/net/liblinphone/files/patch-src_core_paths_paths-linux.cpp
+++ b/net/liblinphone/files/patch-src_core_paths_paths-linux.cpp
@@ -1,8 +1,8 @@
---- src/core/paths/paths-linux.cpp.orig	2022-06-16 11:20:59 UTC
+--- src/core/paths/paths-linux.cpp.orig	2022-08-08 14:58:59 UTC
 +++ src/core/paths/paths-linux.cpp
-@@ -22,6 +22,16 @@
- 
+@@ -23,6 +23,16 @@
  #include "paths-linux.h"
+ #include "linphone/api/c-factory.h"
  
 +#ifdef __FreeBSD__
 +/* get_current_dir_name() is a GNU extension.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302112358.31BNwYfQ086481>