From nobody Sun Jul 16 16:03:44 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 4R3ql42Nmdz4nHG7; Sun, 16 Jul 2023 16:03:44 +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 4R3ql41yHrz4cKd; Sun, 16 Jul 2023 16:03:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689523424; 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=CWCE85HdCBCanOya/IsX2B/6DK8HAMauRUdCx3vM36w=; b=NsWkNmP3TXcg7DD8FHWKrCTnf1Ca1PJJJmcQRft1/MrPZJeU/AojRotSgOIyHRXc30MxYE Pt/+hz3x/Utif1i06+LhfsMQ2Rmp9DWdKLAuzO8JOpDZ+UxF1xzfEYmURMKxE0lGlV6gtI po5atgg0crXLOJ0KW1L2k3ICCse3Xn0xnQAQq+Q/OYCiH95F/JGRkpnRWvXSRBn9J86C3d 4Ta8JtvAyDdVwcc8S3SqxUVmaTW7xgfgSe2vN5LRHOChJxAg2rAwGnyni70ArxMKVhTgAf Tr+4kJQrPrN6KaF+F8xVk7dSe1zkHzlxYl9VPPNxcc+Q9uR97WWgIdAbetrlzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689523424; 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=CWCE85HdCBCanOya/IsX2B/6DK8HAMauRUdCx3vM36w=; b=XTYLQoto9Xe4RqGBMCxikSAF2y9dkq6sj8QnXUXPlN2+yiREuxRGCHMs/YYvs88+D3zE7r 5NZmKm52nvnhBcAg0OhrTazqZX6JwpOu2N/UkARuwy4KWRJlxcHyYibqfQVPS70w8tq4SJ Kc/K4h/aZ9wskf1cL7ii/QNG4i7isY3h7UpR8qqUA1L/TbNxCypzUpcPU/sNm+/LJeI961 bnp4eKocMjLIH3Rq/u2L9HzN/yIlFpqzMwdNj5IUVe5oIu7/D/vTQgIZAVmBPv4X+Fl+mf SdPEckm6fi+Kns1eimTCaLGP1ZKSusfRvLs8tQQ++mqnfDIk2SD19gY4sZfElQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689523424; a=rsa-sha256; cv=none; b=l/vviEtvP8vGHN7/V/Ho/SOPdEOC510b/jte4fbYeRCXJ4ILB/KPwSq6wSGmRh/dlPxt+e ZOaY+8elpvWOErSj5oFeYgKw4SY/B7ywn4WLXdwiaOL50tbFfwl9XK1LzLWA6jS2HMeRjg qhLT44iAFGIb+vPX2Pwpk2dwPmc3VvQijztD2khtCYKDHuYocUPeJfDAq6u0ZgSXAHuOp/ 9Lscra6s2/g/4qbXqb8wl9Vr5unqdiia+XFp1hAe340yOkep3SSTk7FrcZPopA5sKGS9Yp r0wceOnycNeCQSsopixRKFvktQ6Dl/NP+Og2vNMymMgitppgU15p4F4s01vH8A== 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 4R3ql40z2RzpJq; Sun, 16 Jul 2023 16:03:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36GG3iV2029726; Sun, 16 Jul 2023 16:03:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36GG3i2P029725; Sun, 16 Jul 2023 16:03:44 GMT (envelope-from git) Date: Sun, 16 Jul 2023 16:03:44 GMT Message-Id: <202307161603.36GG3i2P029725@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: d4bd77095e68 - main - comms/flrig: Fix build on 14 with clang-16 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d4bd77095e68b94d239daab1bd7873b4566c64a4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4bd77095e68b94d239daab1bd7873b4566c64a4 commit d4bd77095e68b94d239daab1bd7873b4566c64a4 Author: Yuri Victorovich AuthorDate: 2023-07-16 16:02:31 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-16 16:02:31 +0000 comms/flrig: Fix build on 14 with clang-16 A non-existent C++ feature std::ostringstream::streampos was used. Reported by: fallout --- comms/flrig/files/patch-src_main.cxx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/comms/flrig/files/patch-src_main.cxx b/comms/flrig/files/patch-src_main.cxx new file mode 100644 index 000000000000..ec83afcbd14c --- /dev/null +++ b/comms/flrig/files/patch-src_main.cxx @@ -0,0 +1,23 @@ +- fix build on 14 with clang-16 because std::ostringstream::streampos +- doesn't exist there. +- using the C++ standard std::streampos instead. + +--- src/main.cxx.orig 2023-07-16 15:55:45 UTC ++++ src/main.cxx +@@ -21,6 +21,7 @@ + #include "config.h" + + #include ++#include + #include + #include + #include +@@ -313,7 +314,7 @@ void rotate_log(std::string filename) + { + const int n = 5; // rename existing log files to keep up to 5 old versions + ostringstream oldfn, newfn; +- ostringstream::streampos p; ++ streampos p; + + oldfn << filename << '.'; + newfn << filename << '.';