From nobody Sat Feb 11 23:58:34 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PDncV5tq7z3rFMJ; Sat, 11 Feb 2023 23:58:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PDncV5LNSz3sTN; Sat, 11 Feb 2023 23:58:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676159914; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CsIhSpyP/LHqsrjYoGX3Z0rKXjh68YBS6nt0DYTdAxU=; b=uKVGfXaS+/9sw00WOZWnprrDY61GXZAsDCekSZPuVhwmGcgQIi1dY4Uxi1qLIU3sHvcWwE 4zXjjKvtS27Ny8xsAg7hyxQM5qAnc7Q86t8+LWrz0Df7P3n+d5W/J9druGXa6h2gF1G6nc JMGpKGbavaZR+HsuQBnT8LpTsRBAMxU/UN9nGOfs0Y/TyUyYj9iTSV+D1WL3Gbq/DFm9at gmu7VdxeLFSyGX9/8v/sYGryFpgArL0FXW66CYL3GnQeH9nfwwJmm6MXWK+jdepeNQ5MPe X/QrcCEOqPEkcRvdBkEMG0TVkQjZao3HpahxjKmY23iD2VA2L7MzLoLqllMpOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676159914; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CsIhSpyP/LHqsrjYoGX3Z0rKXjh68YBS6nt0DYTdAxU=; b=bEZhD6fhUSag8NUZQi3eyNkae8FEUbrtg9P/t7V2LlUvDp9y3PmZmcFr5fG0lW+zub71Sy axEkQ3ahrECcMrW/kiH/XTpjS7huQpPCM8dT9ld0Q+oqO1+OPau/8zcf0x+VFUds0iHHjS MFqkIOBJdVTHTrXSikQap47PaIkOlOvuNlUywbVGXkKOWdxwULfdVt2mcBRnSZKsc+faGX UlOow44a6K/vmKzH/1ZXkWSSs+Ei+ltmWD8bwwcF8+PGxxlsvdeZUlZjv9CidwQ5ik9XSA UvKJ6gedw34skCGBjJH8sIPBcWNhEOnCkUy2WTb0ZfCO8L0MxK1VZpuMNBVQpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676159914; a=rsa-sha256; cv=none; b=PSEoLuIiCsfXHQkekn0sLW9DToMZMDXbUNRnH4pcrL1bMMdN5Y3eNNc1PwYhgM26wsNO1R l35XrfuOIznvZlBkU/2NCpnQGEAh9obzggHA4R6tI1X7xMlNelLXHdaPziF+9e33/1i2gj O25WH+LSpQesp0ypvneIxA57jbD7uououNPNNgtscWyaZKH1I3hOmUGkXouJTvuDZuPJc0 4Fp6wqJoxalzGn9LfuskTyUSOrkYFoTn0dAU/R9H27ZvxSk5ZbzDtBEC9aH45YwhwXsev2 Zco6vxCg4Lum/tlPacfxYPfa8D3K4+iLctdrhw/UIucX0aWrziCJGrMeBglFDA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PDncV4PqxzHWL; Sat, 11 Feb 2023 23:58:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31BNwYRU086482; Sat, 11 Feb 2023 23:58:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31BNwYfQ086481; Sat, 11 Feb 2023 23:58:34 GMT (envelope-from git) Date: Sat, 11 Feb 2023 23:58:34 GMT Message-Id: <202302112358.31BNwYfQ086481@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 4fd0bdc67785 - main - net/liblinphone: Fix build on HEAD List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4fd0bdc67785d84696ae47dee245382c7aa948e7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=4fd0bdc67785d84696ae47dee245382c7aa948e7 commit 4fd0bdc67785d84696ae47dee245382c7aa948e7 Author: Muhammad Moinur Rahman AuthorDate: 2023-02-11 23:57:04 +0000 Commit: Muhammad Moinur Rahman 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.