From nobody Thu Nov 18 21:17:31 2021 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 1709D18337BC; Thu, 18 Nov 2021 21:17:33 +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 4HwCLN4ckSz3Hpw; Thu, 18 Nov 2021 21:17:32 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 0C2C01C115; Thu, 18 Nov 2021 21:17:32 +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 1AILHV95046299; Thu, 18 Nov 2021 21:17:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AILHVwc046298; Thu, 18 Nov 2021 21:17:31 GMT (envelope-from git) Date: Thu, 18 Nov 2021 21:17:31 GMT Message-Id: <202111182117.1AILHVwc046298@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 0f6c39590217 - main - sysutils/bareos17-client: fix build 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: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0f6c39590217a05c9b03f47b884571402106d4e5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f6c39590217a05c9b03f47b884571402106d4e5 commit 0f6c39590217a05c9b03f47b884571402106d4e5 Author: Dmitry Marakasov AuthorDate: 2021-11-18 16:17:04 +0000 Commit: Dmitry Marakasov CommitDate: 2021-11-18 20:51:08 +0000 sysutils/bareos17-client: fix build Approved by: porgmgr blanket --- sysutils/bareos17-server/files/patch-src-lib_bsnprintf.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sysutils/bareos17-server/files/patch-src-lib_bsnprintf.c b/sysutils/bareos17-server/files/patch-src-lib_bsnprintf.c index 4787e1c416a2..41d818ca489f 100644 --- a/sysutils/bareos17-server/files/patch-src-lib_bsnprintf.c +++ b/sysutils/bareos17-server/files/patch-src-lib_bsnprintf.c @@ -1,6 +1,6 @@ ---- src/lib/bsnprintf.c 2021-08-04 23:06:43.246164000 -0500 -+++ src/lib/bsnprintf.c 2021-08-04 23:07:16.549429000 -0500 -@@ -618,6 +618,7 @@ +--- src/lib/bsnprintf.c.orig 2021-11-18 14:05:23 UTC ++++ src/lib/bsnprintf.c +@@ -618,6 +618,7 @@ static LDOUBLE pow10(int exp) return result; } @@ -8,10 +8,12 @@ static int64_t round(LDOUBLE value) { int64_t intpart; -@@ -629,6 +630,7 @@ +@@ -629,6 +630,9 @@ static int64_t round(LDOUBLE value) return intpart; } ++#else ++#include +#endif static int32_t fmtfp(char *buffer, int32_t currlen, int32_t maxlen,