From nobody Thu May 18 11:41:02 2023 X-Original-To: dev-commits-ports-main@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 4QMSjC1lZqz4BSC3; Thu, 18 May 2023 11:41:03 +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 4QMSjB6D6hz3wVV; Thu, 18 May 2023 11:41:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684410062; 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=6BmNqUhtgoFzowpnbyFrsNHgQxfJTXKyVQP9OjvYuS4=; b=TpflNPmVa9G1GjQ6VixuX+9Gf8vWF3vjydUvCGbtoD1/zPrXiaSpZILhE2nzZwKwMvq4HJ zaDIOy34Mn4uAX321iZMXAgmtIMguUv2neF64AyzI1sRHlGKAlFkPMvptSeDQSgTRQIIrZ g+EFfewMWDPKzu6mtNkJM91miGwQSxeUYULa0WWzMmnaI2spH1yUmgNEVn0adRZGUywgOO 2FrxnGlIj929JfR+wU7o3ky4qaxyHtP2U9nqfSD+NVsHOiBpNr32GPz2L/GNynP1aZj2AE l3C4hHNsL6U4IrugwnnNWVyfk8ssau5bGC81CQfIeArgEz4uYlIMXuaMgZ84xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684410062; 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=6BmNqUhtgoFzowpnbyFrsNHgQxfJTXKyVQP9OjvYuS4=; b=Qnzz0KWmfrBthAuHEJzJvOGzErHNn38rngSYR402av0Xur+5p4iWGRdl9xFztQnbhi47TV sEg7UP+2KH/SCSrhrqra4Tj+K82Vg0M743LddGMwUcAh7mWqngrD5+X/SikHDHvHQVch2S 2LRnC+wpZ0fJZyQYDkU/l8PC4sPDdgDK3t7s7xbBXRmf1wRkR0dI7OMOXTrOTHH14z3vjv 8Ds5GQ+F3USehAiuCPVd6y011iByI6nVGsdibXvQUjtw5XRwk+PyS+ANLBMQZlygFbIiUb kcG0lLPiZKTaSFmjUC6HOerHl4AqQmy8dKiEDWZdl16gje3F1BtMV8eIkcLR7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684410062; a=rsa-sha256; cv=none; b=Za2v+x//O+sYlaFpQW/0mu++Z8NkQUJoX3OQlH1GpGUJSvXBJC4n246GkUNZBTsUg3GSvM JNkdiCm8rNdb9xee2eNqLJXntVE8C9Glrx7v1moClg1Q5DkiOjCDkuUSzETUmjagtsn/1w uJsuxmmactz4CcOyYyeFmSgekMsVjMMR9CcYto4EsppWo0wHr/FZKn/jDrqyTikDQQ70FO t20uK8q4wZKEyuqwHXvpnOts51/bBK7wFqj8J1LqS3dr/XxnfrH1xqedOtS7KL2iHnH3J2 Xlf83Oyu5kx+g0wchYbuDHUku7+OfnvSWTPX1uXK65ZTKQVxMmcx93sG3dIsYA== 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 4QMSjB5KjHzkhP; Thu, 18 May 2023 11:41:02 +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 34IBf2uC085512; Thu, 18 May 2023 11:41:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34IBf21X085511; Thu, 18 May 2023 11:41:02 GMT (envelope-from git) Date: Thu, 18 May 2023 11:41:02 GMT Message-Id: <202305181141.34IBf21X085511@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 67237e5afd19 - main - textproc/augeas: fix build with clang 16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 67237e5afd193f57fb2153072d01d6645eb79b5c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=67237e5afd193f57fb2153072d01d6645eb79b5c commit 67237e5afd193f57fb2153072d01d6645eb79b5c Author: Dimitry Andric AuthorDate: 2023-05-08 08:37:41 +0000 Commit: Dimitry Andric CommitDate: 2023-05-18 11:33:25 +0000 textproc/augeas: fix build with clang 16 Clang 16 has a new error about incompatible integer to pointer conversions, which shows up when building textproc/augeas: augprint.c:1477:24: warning: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char *program_name = basename(argv[0]); ^ augprint.c:1477:9: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion] char *program_name = basename(argv[0]); ^ ~~~~~~~~~~~~~~~~~ This is because basename(3) is declared in , but augprint.c does not include it. Upstream has already fixed this, so apply the commit until there is a new release. PR: 271316 Approved by: portmgr (build fix blanket) MFH: 2023Q2 --- textproc/augeas/Makefile | 4 ++++ textproc/augeas/distinfo | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/textproc/augeas/Makefile b/textproc/augeas/Makefile index ef9107cefc1b..015dc60bc031 100644 --- a/textproc/augeas/Makefile +++ b/textproc/augeas/Makefile @@ -1,8 +1,12 @@ PORTNAME= augeas DISTVERSION= 1.14.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://github.com/hercules-team/augeas/releases/download/release-${DISTVERSION}/ +PATCH_SITES= https://github.com/hercules-team/augeas/commit/ +PATCHFILES+= 7b26cbb74ed634d886ed842e3d5495361d8fd9b1.patch:-p1 # https://github.com/hercules-team/augeas/pull/792 + MAINTAINER= puppet@FreeBSD.org COMMENT= Configuration editing tool WWW= https://augeas.net/ diff --git a/textproc/augeas/distinfo b/textproc/augeas/distinfo index dd0c8f9c11b3..da7e25700d38 100644 --- a/textproc/augeas/distinfo +++ b/textproc/augeas/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1683030743 +TIMESTAMP = 1683741338 SHA256 (augeas-1.14.0.tar.gz) = 8c101759ca3d504bd1d805e70e2f615fa686af189dd7cf0529f71d855c087df1 SIZE (augeas-1.14.0.tar.gz) = 2651463 +SHA256 (7b26cbb74ed634d886ed842e3d5495361d8fd9b1.patch) = 08b0dbf7f303cd7cb341e2dff13f9b5df7042c2171dcfc89ed00d1d8f4886983 +SIZE (7b26cbb74ed634d886ed842e3d5495361d8fd9b1.patch) = 1239