Re: git: d8feecdf7fdb - main - graphics/gdal: Fix build against poppler 24.12

From: Po-Chuan Hsieh <sunpoet_at_freebsd.org>
Date: Wed, 19 Feb 2025 14:33:13 UTC
Hello Loïc,

On Thu, Feb 13, 2025 at 12:08 AM Loïc Bartoletti <lbartoletti@freebsd.org>
wrote:

> The branch main has been updated by lbartoletti:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=d8feecdf7fdb6514ad4b714e69b2045d8c297d52
>
> commit d8feecdf7fdb6514ad4b714e69b2045d8c297d52
> Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
> AuthorDate: 2025-02-07 06:09:57 +0000
> Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
> CommitDate: 2025-02-12 16:07:59 +0000
>
>     graphics/gdal: Fix build against poppler 24.12
>

Thanks for the fix.
Would you please include more information in the commit log next time?
For example, it would be very helpful if the error message and how it is
fixed are included.

Best Regards,
sunpoet

---
>  graphics/gdal/Makefile | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
> index 7f3489082639..e9e7c3a80c38 100644
> --- a/graphics/gdal/Makefile
> +++ b/graphics/gdal/Makefile
> @@ -54,7 +54,8 @@ CMAKE_OFF=    BUILD_CSHARP_BINDINGS \
>                 GDAL_USE_TIFF_INTERNAL \
>                 GDAL_USE_ZLIB_INTERNAL \
>                 HDFS_ENABLED \
> -               SWIG_REGENERATE_PYTHON
> +               SWIG_REGENERATE_PYTHON \
> +               CMAKE_CXX_SCAN_FOR_MODULES
>  CMAKE_ON=      BUILD_APPS \
>                 BUILD_SHARED_LIBS \
>                 BUILD_STATIC_LIBS \
>