@@ -5,16 +5,15 @@ class AvroCpp < Formula
5
5
mirror "https://archive.apache.org/dist/avro/avro-1.12.0/cpp/avro-cpp-1.12.0.tar.gz"
6
6
sha256 "f2edf77126a75b0ec1ad166772be058351cea3d74448be7e2cef20050c0f98ab"
7
7
license "Apache-2.0"
8
+ revision 1
8
9
9
10
bottle do
10
- rebuild 1
11
- sha256 cellar : :any , arm64_sequoia : "35545fc4240e13f8631fe71b1a9469092c15e2793c0d106d14fb34533db0e84b"
12
- sha256 cellar : :any , arm64_sonoma : "23c9ec83f2944a1d29735e620a4f64b7e0d9d94326c6dc9633383cfd53ebbecb"
13
- sha256 cellar : :any , arm64_ventura : "425d77362d151dc0cb07d97bf7dc3588f340f568c8b5fcb23377f61510e47ea5"
14
- sha256 cellar : :any , sonoma : "82b98ee513025822b480a023234fe08f4f8d57fcab9b561c653562cde087c6a4"
15
- sha256 cellar : :any , ventura : "c04f7eef9843de29ca88223e70476d221cf017313b558c544bd4f47dc403c72d"
16
- sha256 cellar : :any_skip_relocation , arm64_linux : "22e8f9ba754a3dd5ed7ec1fe95b0c79b859bb9aa7fe95abc9f3340c7e8bda79d"
17
- sha256 cellar : :any_skip_relocation , x86_64_linux : "c4c9fcfa73b1edfe173bd96bd36844029d48614ed5e8934498a2b67329da5183"
11
+ sha256 cellar : :any , arm64_sequoia : "c957d98325e78e380f0350d9c9e96edd4dedf5bc6e066cd3e1cc8149b50c8598"
12
+ sha256 cellar : :any , arm64_sonoma : "b099c4cb40748b37a98350b66ecfaeeca27028731698f061a943aa677cea409b"
13
+ sha256 cellar : :any , arm64_ventura : "2bd5f3b4db84283a53fd5ad1378e64fe2be612ba26d542eef7678de2c3a9bc39"
14
+ sha256 cellar : :any , sonoma : "1f97c3b6d551ac12a5709fc8677c5f9383d82f592a55884009fefd14f1c86829"
15
+ sha256 cellar : :any , ventura : "ec11016e755c1c5ccae51e3e6f443a5051ace8c0649129102d047150fada63dc"
16
+ sha256 cellar : :any_skip_relocation , x86_64_linux : "3ae8f2eb793dc55a6deb6907c02445d54feb481060a4c0fdc8bbbbdd3cfb3737"
18
17
end
19
18
20
19
depends_on "cmake" => :build
@@ -25,6 +24,7 @@ class AvroCpp < Formula
25
24
# Fix compatibility with `fmt` 11, https://github.com/apache/avro/pull/3444
26
25
# Fix to use system installed `fmt`, https://github.com/apache/avro/pull/3447
27
26
# Both patches are not applicable to the source splitted tarball
27
+ # Also add workaround for Boost 1.89.0 until next release that drops Boost dep
28
28
patch :DATA
29
29
30
30
def install
@@ -62,13 +62,15 @@ def install
62
62
63
63
__END__
64
64
diff --git a/CMakeLists.txt b/CMakeLists.txt
65
- index 19059a4..ba95df6 100644
65
+ index 19059a4..afdfdf5 100644
66
66
--- a/CMakeLists.txt
67
67
+++ b/CMakeLists.txt
68
- @@ -82,15 +82,18 @@ endif ()
69
- find_package (Boost 1.38 REQUIRED
70
- COMPONENTS filesystem iostreams program_options regex system)
68
+ @@ -80,17 +80,20 @@ endif ()
69
+
71
70
71
+ find_package (Boost 1.38 REQUIRED
72
+ - COMPONENTS filesystem iostreams program_options regex system)
73
+ -
72
74
-include(FetchContent)
73
75
-FetchContent_Declare(
74
76
- fmt
@@ -78,6 +80,8 @@ def install
78
80
- USES_TERMINAL_DOWNLOAD TRUE
79
81
-)
80
82
-FetchContent_MakeAvailable(fmt)
83
+ + COMPONENTS filesystem iostreams program_options regex)
84
+ +
81
85
+find_package(fmt)
82
86
+if (NOT fmt_FOUND)
83
87
+ include(FetchContent)
0 commit comments