Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2026 09:32:05 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4e6b5bd06827 - main - math/pdal: Fix build with gdal 3.13.0+
Message-ID:  <6a02f395.36ee8.16f79c68@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4e6b5bd06827729d311404af51ba56bde8167e47

commit 4e6b5bd06827729d311404af51ba56bde8167e47
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-12 09:17:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-12 09:31:16 +0000

    math/pdal: Fix build with gdal 3.13.0+
    
    /wrkdirs/usr/ports/math/pdal/work/PDAL-2.8.4-src/pdal/private/gdal/Raster.cpp:698:27: error: assigning to 'char **' from 'CSLConstList' (aka 'const char *const *') discards qualifiers in nested pointer types
      698 |     papszMetadata = m_ds->GetMetadata(domain.c_str());
          |                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    
    Obtained from:  https://github.com/PDAL/PDAL/commit/eb7220a2447c5b3d208d7ef0a76c61a17a5b21da
    Approved by:    portmgr (blanket)
---
 math/pdal/Makefile | 3 +++
 math/pdal/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/math/pdal/Makefile b/math/pdal/Makefile
index 35799c3ddb8a..c012fa9d834a 100644
--- a/math/pdal/Makefile
+++ b/math/pdal/Makefile
@@ -5,6 +5,9 @@ CATEGORIES=	math databases graphics
 MASTER_SITES=	https://github.com/PDAL/PDAL/releases/download/${DISTVERSION}/
 DISTNAME=	${PORTNAME}-${DISTVERSION}-src
 
+PATCH_SITES=	https://github.com/PDAL/PDAL/commit/
+PATCHFILES=	eb7220a2447c5b3d208d7ef0a76c61a17a5b21da.patch:-p1
+
 MAINTAINER=	lbartoletti@FreeBSD.org
 COMMENT=	Library for translating and manipulating point cloud data
 WWW=		https://www.pdal.io
diff --git a/math/pdal/distinfo b/math/pdal/distinfo
index 384e05b27d4c..c5a44fd31a9e 100644
--- a/math/pdal/distinfo
+++ b/math/pdal/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1743790534
+TIMESTAMP = 1778385598
 SHA256 (pdal-2.8.4-src.tar.bz2) = c27dc79af0b26f9cb3209b694703e9d576f1b0c8c05b36206fd5e310494e75b5
 SIZE (pdal-2.8.4-src.tar.bz2) = 86725389
+SHA256 (eb7220a2447c5b3d208d7ef0a76c61a17a5b21da.patch) = cbcd178f8bdad5491a8c2d420b103741b6ec6194eead3826f064d0b436d61f3d
+SIZE (eb7220a2447c5b3d208d7ef0a76c61a17a5b21da.patch) = 1320


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a02f395.36ee8.16f79c68>