Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2024 19:47:34 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 30248bf4ec84 - main - math/dune-common: fix build with clang 19
Message-ID:  <202409101947.48AJlY5K076281@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/ports/commit/?id=30248bf4ec840a773c7f7977df69a10c4b531336

commit 30248bf4ec840a773c7f7977df69a10c4b531336
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-09-10 09:29:49 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-09-10 19:46:22 +0000

    math/dune-common: fix build with clang 19
    
    Clang 19 is more strict about errors in member functions, which results
    in:
    
      /wrkdirs/usr/ports/math/dune-common/work/dune-common-df65b1282ea89ad40d2cb6565983f7e633ccce31/dune/common/parallel/remoteindices.hh:936:58: error: reference to non-static member function must be called
        936 |     return localIndex_==ri.localIndex_ && attribute_==ri.attribute;
            |                                                       ~~~^~~~~~~~~
    
    This is a typo, which has been fixed by upstream in
    <https://gitlab.dune-project.org/core/dune-common/-/commit/d36ce92a18>.
    
    PR:             281412
    Approved by:    yuri (maintainer)
    MFH:            2024Q3
---
 math/dune-common/Makefile | 3 +++
 math/dune-common/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/math/dune-common/Makefile b/math/dune-common/Makefile
index 60e68c895cdb..e57281f870e1 100644
--- a/math/dune-common/Makefile
+++ b/math/dune-common/Makefile
@@ -4,6 +4,9 @@ DISTVERSION=	2.8.0
 PORTREVISION=	15
 CATEGORIES=	math
 
+PATCH_SITES=	https://gitlab.dune-project.org/core/${PORTNAME}/-/commit/
+PATCHFILES+=	d36ce92a18904a3fe69028811c619b4b5a09ef4e.patch:-p1
+
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	DUNE framework: Build system, infrastructure and foundation classes
 WWW=		https://www.dune-project.org/
diff --git a/math/dune-common/distinfo b/math/dune-common/distinfo
index 9b9f89c4ffab..b6c1bd6de46a 100644
--- a/math/dune-common/distinfo
+++ b/math/dune-common/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1630946353
+TIMESTAMP = 1725960226
 SHA256 (core-dune-common-df65b1282ea89ad40d2cb6565983f7e633ccce31_GL0.tar.gz) = e518620820edd77258266c1856eb46435e884bc7770ae00c7c181c222b98be48
 SIZE (core-dune-common-df65b1282ea89ad40d2cb6565983f7e633ccce31_GL0.tar.gz) = 772263
+SHA256 (d36ce92a18904a3fe69028811c619b4b5a09ef4e.patch) = 32f0b7927ed2b70e9c1d095689064045c7c25f76056e0243c24641ac0cb9aafa
+SIZE (d36ce92a18904a3fe69028811c619b4b5a09ef4e.patch) = 877



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409101947.48AJlY5K076281>