Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost: patch for INTERFACE_LINK_LIBS bug #67615

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions Formula/boost.rb
Expand Up @@ -5,6 +5,7 @@ class Boost < Formula
mirror "https://dl.bintray.com/homebrew/mirror/boost_1_75_0.tar.bz2"
sha256 "953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb"
license "BSL-1.0"
revision 1
head "https://github.com/boostorg/boost.git"

livecheck do
Expand All @@ -25,6 +26,13 @@ class Boost < Formula
uses_from_macos "bzip2"
uses_from_macos "zlib"

# Reduce INTERFACE_LINK_LIBRARIES exposure for shared libraries. Remove with the next release.
patch do
url "https://github.com/boostorg/boost_install/commit/7b3fc734242eea9af734d6cd8ccb3d8f6b64c5b2.patch?full_index=1"
sha256 "cd96f5c51fa510fa6cd194eb011c0a6f9beb377fa2e78821133372f76a3be349"
directory "tools/boost_install"
end

# Fix build on 64-bit arm
patch do
url "https://github.com/boostorg/build/commit/456be0b7ecca065fbccf380c2f51e0985e608ba0.patch?full_index=1"
Expand Down
2 changes: 1 addition & 1 deletion Formula/flann.rb
Expand Up @@ -4,7 +4,7 @@ class Flann < Formula
url "https://github.com/mariusmuja/flann/archive/1.9.1.tar.gz"
sha256 "b23b5f4e71139faa3bcb39e6bbcc76967fbaf308c4ee9d4f5bfbeceaa76cc5d3"
license "BSD-3-Clause"
revision 9
revision 10

bottle do
cellar :any
Expand Down
2 changes: 1 addition & 1 deletion Formula/netcdf.rb
Expand Up @@ -5,7 +5,7 @@ class Netcdf < Formula
mirror "https://www.gfd-dennou.org/arch/netcdf/unidata-mirror/netcdf-c-4.7.4.tar.gz"
sha256 "0e476f00aeed95af8771ff2727b7a15b2de353fb7bb3074a0d340b55c2bd4ea8"
license "BSD-3-Clause"
revision 1
revision 2
head "https://github.com/Unidata/netcdf-c.git"

livecheck do
Expand Down
4 changes: 4 additions & 0 deletions Formula/pcl.rb
Expand Up @@ -100,6 +100,10 @@ def install
}
EOS
mkdir "build" do
# the following line is needed to workaround a bug in test-bot
# (Homebrew/homebrew-test-bot#544) when bumping the boost
# revision without bumping this formula's revision as well
ENV.prepend_path "PKG_CONFIG_PATH", Formula["eigen"].opt_share/"pkgconfig"
system "cmake", "..", *std_cmake_args
system "make"
system "./pcd_write"
Expand Down
2 changes: 1 addition & 1 deletion Formula/vtk@8.2.rb
Expand Up @@ -4,7 +4,7 @@ class VtkAT82 < Formula
url "https://www.vtk.org/files/release/8.2/VTK-8.2.0.tar.gz"
sha256 "34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb"
license "BSD-3-Clause"
revision 1
revision 2

bottle do
sha256 "961f425ff924bcb05d4968fec2ab3a883b1b079b3547966753ccdd86a05ff81b" => :big_sur
Expand Down