From nobody Fri Aug 16 15:39:17 2024 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 4WlmPd5vH2z5T73t; Fri, 16 Aug 2024 15:39:17 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WlmPd3QsNz4cqL; Fri, 16 Aug 2024 15:39:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723822757; 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=xVV6z54fyRnfQ4AHR6v70EqQRP5+phU4ex4fDFH4Z1o=; b=WyIzlGQdhRkOPV7aRDViyyv/OEA30xRO+olLJCg75HBobCZGyGFbog+1BSxmaa07RVgTWu MGBbpOecFw1oOyyqg4qm8OtF2VvcfHMlRf3qER4CWA44lNFABYgqjTZkg1q8rflEXDOoXc DlbaT3V/QFqlKxZS73SOtdvuvhOFO9XhWbQgyo882p9eNJ8ogtuHAoVOjYyexsYh+d+jS6 NybWjq/J+VimFmJeUJcpRWVfPOPBtpsx3lTe7br+UOIDIZ9nYSO6OnobGVUZuIIPXHJfno PY4K/Ic6SK5abtt+WNafqZxLmk87s7HTVJrOh/UknmvOgsbrTsgyKc4diM1zjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723822757; a=rsa-sha256; cv=none; b=kzX27vwCkp3m6RHlyBrKztCq9hhU3r+w9faFdVS8vVeeMUFnXYFQUXi5A4cTEOjRToXaHH 7Y8jxUDDvgp5NK9V3r+WMslr2g4acG7hVdqU5BRdjSlgLAEyaz3ApV/JCGwp7GFe4AFKL6 Z+gFJbrwJi3p0O33oBk/fGnxhPUQuN8Do6SVCajdcd/E7pRyB8P6pUvGUA/mTHcWhl9QS9 hOHL4/H1TKCEqUcO3HIcjaSTiUEYvHeP9bbjKwzDyzKrp5uLMZBMR8vhihJ66vEOzRiJYU wyDuUhWSP8FU4uIv7B0CXev87t4Dwr3emMrkJ1Ld0bFRnzXHrq99zib17PS2lg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723822757; 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=xVV6z54fyRnfQ4AHR6v70EqQRP5+phU4ex4fDFH4Z1o=; b=INhM2MsxifsN4of/8AOgneb/GdwJEgia1xGiL5D+99VYpDAhsycZQ0ZTNiVpKmLlQqVFw/ C6QsRNY7BIrV/gfX9+W4Fxfemf8E8a00NbNkSW5DtZuZnO7OiDiYSHY6J9NmAwtuS9o8xR h1HvJLzoD8ostVh6m0rSERZUn0dkBEn4oqeMUydNLmma7YlF3yYAP8ruUfFSuJEQyNMCvj imfFY2xUk28V9SXcipSzvqplk1p3fqgY1Qp8IOT6p83XK2hbyrJ9hGafVvsoQ2CX4XqESb Ou4BAVobqCta5omUO5KHF1G8SmOA3ov/y1CG1DY2Lclw/bSJZlP8UZNH+UyGew== 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 4WlmPd2HJRz1BHH; Fri, 16 Aug 2024 15:39:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47GFdHJj079687; Fri, 16 Aug 2024 15:39:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47GFdHNH079684; Fri, 16 Aug 2024 15:39:17 GMT (envelope-from git) Date: Fri, 16 Aug 2024 15:39:17 GMT Message-Id: <202408161539.47GFdHNH079684@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: e7c6b0ec720f - main - graphics/dcmtk: fix build with clang 19 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: e7c6b0ec720fbd79c019f0743a9de46a6df93683 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=e7c6b0ec720fbd79c019f0743a9de46a6df93683 commit e7c6b0ec720fbd79c019f0743a9de46a6df93683 Author: Dimitry Andric AuthorDate: 2024-08-16 15:17:33 +0000 Commit: Dimitry Andric CommitDate: 2024-08-16 15:37:03 +0000 graphics/dcmtk: fix build with clang 19 Clang 19 now diagnoses incorrect member accesses, which causes graphics/dcmtk to fail with a errors similar to: /wrkdirs/usr/ports/graphics/dcmtk/work/dcmtk-DCMTK-3.6.8/ofstd/include/dcmtk/ofstd/ofutil.h:79:18: error: no member named 'pt' in 'OFrvalue_storage' 79 | : t( rhs.pt ) {} | ~~~ ^ Upstream dcmtk fixed this by changing the affected copy constructor in https://github.com/DCMTK/dcmtk/commit/c29bebcd1, so pull this in as a patch and apply it. PR: 280865 Approved by: yuri (maintainer) MFH: 2024Q3 --- graphics/dcmtk/Makefile | 3 +++ graphics/dcmtk/distinfo | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/graphics/dcmtk/Makefile b/graphics/dcmtk/Makefile index dfeeb824de2a..d401b7985ec0 100644 --- a/graphics/dcmtk/Makefile +++ b/graphics/dcmtk/Makefile @@ -3,6 +3,9 @@ DISTVERSIONPREFIX= ${PORTNAME:tu}- DISTVERSION= 3.6.8 CATEGORIES= graphics devel +PATCH_SITES= https://github.com/DCMTK/${PORTNAME}/commit/ +PATCHFILES+= c29bebcd19bb963d72dcd00ca8745f60f6b9a39e.patch:-p1 # fix compilation with clang 19, gcc 15 + MAINTAINER= yuri@FreeBSD.org COMMENT= DICOM ToolKit, libraries and applications for DICOM/MEDICOM standard WWW= https://dcmtk.org diff --git a/graphics/dcmtk/distinfo b/graphics/dcmtk/distinfo index 738b7d2d3521..cf124b306980 100644 --- a/graphics/dcmtk/distinfo +++ b/graphics/dcmtk/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1714942515 +TIMESTAMP = 1723820540 SHA256 (DCMTK-dcmtk-DCMTK-3.6.8_GH0.tar.gz) = fca429a215739702fe8d96178964036246a35e2ea8adb12da33851e2be8e9a07 SIZE (DCMTK-dcmtk-DCMTK-3.6.8_GH0.tar.gz) = 9670224 +SHA256 (c29bebcd19bb963d72dcd00ca8745f60f6b9a39e.patch) = fc876f47d44b582f0ac56a1390fd7bf1eb8767444f591fb80a367dd6f84ec015 +SIZE (c29bebcd19bb963d72dcd00ca8745f60f6b9a39e.patch) = 1413