From nobody Thu Feb 16 18:25:31 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 4PHjzw1czsz3rHh1; Thu, 16 Feb 2023 18:25:32 +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 4PHjzv41RMz3FWG; Thu, 16 Feb 2023 18:25:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676571931; 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=9FixyzTI/0ze+rXEl81Mg44fJHWu70N5y8d1BwrdTtk=; b=jOh2q44nwMAij8ofpAFyF9IUgh0qw1iYZhuvrXpjfrexy2MlMk4fwOZlq9f1xElUqRtU9L NUcKn/YIGhtFK0gcKX2K3hxvQXTUaGZI9E3Ey2qKIbwf1Xq/EdPS2+UOQVRSLRigYr1zyY mYdsWmu/RhIiTx+T4Vk/4AXqAIW+l3kLdAMEo3xfvdwuieS8pgiBqJQ18JcvpzNx7hP1WY n48qaPX99h29c/BkTy4IPWgDlEAL48I5XRagzhPSGpkh2Jy8pDIeAXnB4cSN9ntOmL/W4p Hj1WlM/dNxJvazCBjg4zY3s/x6LTTdP0pL2L6q+NMPw481G5kv2DNPVVb0K6vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676571931; 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=9FixyzTI/0ze+rXEl81Mg44fJHWu70N5y8d1BwrdTtk=; b=s4YCKQ91An+P+7qx6hfsSLxkhtNfZhMqPcquELPsw1PxUKq+ZSE+Wvc2s2GBmUHJG1cisF Lnj7BPomDHluq/+ISlhXI8Kjnh1dneguQWbA9jomHgUz1dphyarhCrI5WmPwL0RWPtOuc+ Z9yijP+bxxdwe1tLFuCkHV5QFAJgqUP6VR2UEAgnldEOAEBAbrLj2KMIdzxEfnqfxuWL9B Ma+Bz3apxor6GJXobgB5B8ptwZrMd30rKSfoxBpGOJOtOqP4DF9QZafbhwuF/HZG7ikVKy vw+eE8j97kDSUk12iP9V+QgXhTVjrGrg9uBYq5SfFoa78ma/lqmvxvCCo8AD9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676571931; a=rsa-sha256; cv=none; b=BumQn9sDjUA1IKaZvWIekuznOPF/ctDN1/8+q9IspsujWk+yWK1i7UVe5CL5L7iK8ZRVu+ dN63xy6f/7kGbJYlrRilMz40tfPxnlHmXl8GF36hY+MH+wk1yurMKLD60DCHEdIoAF/CWy CBXHpwKLlzBs1njn4usROJ17A38AzUusSdPTLbZ5YQRCbYgdbCauHb3Nx+Xqv3d9L+5sTt Q78XYNGwOsyqYDGr7rLGL4AmWTmTeN6mg7SIQeJ12ZOJWnzsIIDkDM5Eg4vCET8r85/37o e/ptKipGRkT7QwFKM1sO9yNpz5slFyWhHXsyBjRIU4JlMEHSlUe04OycMFSy7g== 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 4PHjzv2rSFzDhp; Thu, 16 Feb 2023 18:25:31 +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 31GIPVMC015668; Thu, 16 Feb 2023 18:25:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31GIPVvP015667; Thu, 16 Feb 2023 18:25:31 GMT (envelope-from git) Date: Thu, 16 Feb 2023 18:25:31 GMT Message-Id: <202302161825.31GIPVvP015667@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Diane Bruce Subject: git: 04e2b6e7c0ae - main - comms/hamlib: Newest c compiler in 14 is pickier 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: db X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 04e2b6e7c0aed6a31934b5d5a080d40f07ae9463 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by db: URL: https://cgit.FreeBSD.org/ports/commit/?id=04e2b6e7c0aed6a31934b5d5a080d40f07ae9463 commit 04e2b6e7c0aed6a31934b5d5a080d40f07ae9463 Author: Diane Bruce AuthorDate: 2023-02-16 18:24:11 +0000 Commit: Diane Bruce CommitDate: 2023-02-16 18:24:11 +0000 comms/hamlib: Newest c compiler in 14 is pickier Code was trying to use a function as an integer (localtime) --- comms/hamlib/Makefile | 1 + comms/hamlib/files/patch-src_misc.c | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/comms/hamlib/Makefile b/comms/hamlib/Makefile index eb9e4c6c0bb8..9d5c98d9a3c1 100644 --- a/comms/hamlib/Makefile +++ b/comms/hamlib/Makefile @@ -1,5 +1,6 @@ PORTNAME= hamlib PORTVERSION= 4.5.3 +PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= SF diff --git a/comms/hamlib/files/patch-src_misc.c b/comms/hamlib/files/patch-src_misc.c new file mode 100644 index 000000000000..377767cf9d7a --- /dev/null +++ b/comms/hamlib/files/patch-src_misc.c @@ -0,0 +1,12 @@ +--- src/misc.c.orig 2023-01-01 00:12:52 UTC ++++ src/misc.c +@@ -2581,7 +2581,8 @@ char *date_strget(char *buf, int buflen, int localtime + if (localtime) + { + mytm = localtime_r(&t, &result); +- mytimezone = timezone; ++ /* For FreeBSD */ ++ mytimezone = mytm->tm_gmtoff; + } + else + {