From 90a57032ad9662356e16bfc10eaddf5f32144ef4 Mon Sep 17 00:00:00 2001 From: Momtchil Momtchev Date: Fri, 30 Aug 2024 14:52:08 +0200 Subject: [PATCH] =?UTF-8?q?rebuilding=20on=20Ubuntu=2024.04=20=C3=A6suppor?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-dev.yml | 2 +- deps/libnetcdf/config.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-dev.yml b/.github/workflows/test-dev.yml index c01bfaa8e..9b2ea9d78 100644 --- a/.github/workflows/test-dev.yml +++ b/.github/workflows/test-dev.yml @@ -92,7 +92,7 @@ jobs: strategy: matrix: - linux-version: [ 'amazonlinux:2022' ] + linux-version: [ 'amazonlinux:2022', 'ubuntu:24.04' ] steps: - uses: actions/checkout@v4 diff --git a/deps/libnetcdf/config.h b/deps/libnetcdf/config.h index f3a6f447b..7d777d734 100644 --- a/deps/libnetcdf/config.h +++ b/deps/libnetcdf/config.h @@ -124,6 +124,11 @@ #define USE_HDF5 1 #define USE_NETCDF4 1 #define USE_NETCDF_2 1 + +#ifdef __GNUC_PREREQ +#if __GNUC_PREREQ(2, 38) +#define HAVE_STRLCAT 1 +#endif #endif #ifdef WIN32