Skip to content

Commit

Permalink
hdf5: backport c++ regression fix
Browse files Browse the repository at this point in the history
backports HDFGroup/hdf5#4473
to fix a regression in the c++ layer (H5Group::operator= not handling exceptions)
else the c++ layer crashes in the new 1.14.4.3 version just published on homebrew
  • Loading branch information
jschueller committed Oct 5, 2024
1 parent 77313c2 commit b2afb68
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/h/hdf5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ class Hdf5 < Formula

conflicts_with "hdf5-mpi", because: "hdf5-mpi is a variant of hdf5, one can only use one or the other"

# upstream commit to fix c++ regression: https://github.com/HDFGroup/hdf5/pull/4473
patch do
url "https://github.com/HDFGroup/hdf5/commit/ea76013648aac81cee941a7b7a86f21201d1debf.patch?full_index=1"
sha256 "c4413888131ddc372e2c6b19230c477f169e63c286efee3ddd6a7fe264eabacd"
end

def install
ENV["libaec_DIR"] = Formula["libaec"].opt_prefix.to_s
args = %w[
Expand Down

0 comments on commit b2afb68

Please sign in to comment.