Skip to content

Commit

Permalink
Merge pull request #155955 from cho-m/yaz-test
Browse files Browse the repository at this point in the history
yaz: fix build with libxml2 2.12
  • Loading branch information
BrewTestBot authored Nov 30, 2023
2 parents 2bd271e + 92cd455 commit 743dbf3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Formula/y/yaz.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ class Yaz < Formula
uses_from_macos "libxml2"
uses_from_macos "libxslt"

# Fix build with libxml2 2.12. Remove if upstream PR is merged and in release.
# PR Ref: https://github.com/indexdata/yaz/pull/103
patch do
url "https://github.com/indexdata/yaz/commit/b10643c42ea64b1ee09fe53aec2490129f903bcb.patch?full_index=1"
sha256 "7dba5fc599bfa3c54694c87f6978f24dd584ab746aab68bc82a41411da81bec6"
end

def install
if build.head?
ENV["XML_CATALOG_FILES"] = etc/"xml/catalog"
Expand Down

0 comments on commit 743dbf3

Please sign in to comment.