From 0ae6868b5105cf88b248743d705bf94e29161d27 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Tue, 7 May 2024 09:18:11 -0400 Subject: [PATCH] netcdf: revision bump (hdf5 1.14.4) Signed-off-by: Rui Chen --- Formula/n/netcdf.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Formula/n/netcdf.rb b/Formula/n/netcdf.rb index ba5cfe5cf77b..b852911e9174 100644 --- a/Formula/n/netcdf.rb +++ b/Formula/n/netcdf.rb @@ -4,7 +4,7 @@ class Netcdf < Formula url "https://github.com/Unidata/netcdf-c/archive/refs/tags/v4.9.2.tar.gz" sha256 "bc104d101278c68b303359b3dc4192f81592ae8640f1aee486921138f7f88cb7" license "BSD-3-Clause" - revision 1 + revision 2 head "https://github.com/Unidata/netcdf-c.git", branch: "main" livecheck do @@ -52,6 +52,10 @@ def install # Remove shim paths inreplace [bin/"nc-config", lib/"pkgconfig/netcdf.pc", lib/"cmake/netCDF/netCDFConfig.cmake", lib/"libnetcdf.settings"], Superenv.shims_path/ENV.cc, ENV.cc + + # Fix bad flags, breaks vtk build + # https://github.com/Homebrew/homebrew-core/pull/170959#discussion_r1744656193 + inreplace lib/"cmake/netCDF/netCDFTargets.cmake", "hdf5_hl-shared;hdf5-shared;", "hdf5_hl;hdf5;" end test do