@@ -4,6 +4,7 @@ class Dynare < Formula
4
4
url "https://www.dynare.org/release/source/dynare-6.3.tar.xz"
5
5
sha256 "232788788a72c7bc4329eaa4e1ed24318c264095d7646622b871d6e711ff322c"
6
6
license "GPL-3.0-or-later"
7
+ revision 1
7
8
head "https://git.dynare.org/Dynare/dynare.git" , branch : "master"
8
9
9
10
livecheck do
@@ -48,6 +49,11 @@ class Dynare < Formula
48
49
sha256 "fa80f7c75dab6bfaca93c3b374c774fd87876f34fba969af9133eeaea5f39a3d"
49
50
end
50
51
52
+ patch do
53
+ url "https://git.dynare.org/Dynare/dynare/-/commit/e3ff2f108862b462bfb8f5b92bcebaaf6f8a6aa9.patch?full_index=1"
54
+ sha256 "79a334a8198c435563fe66e3f87bbbb534ae908c5cbe489cfabe3d4a0ac2b9f8"
55
+ end
56
+
51
57
def install
52
58
resource ( "slicot" ) . stage do
53
59
system "make" , "lib" , "OPTS=-fPIC" , "SLICOTLIB=../libslicot_pic.a" ,
@@ -82,11 +88,12 @@ def caveats
82
88
83
89
test do
84
90
resource "statistics" do
85
- url "https://github.com/gnu-octave/statistics/archive/refs/tags/release-1.6.5 .tar.gz" , using : :nounzip
86
- sha256 "0ea8258c92ce67e1bb75a9813b7ceb56fff1dacf6c47236d3da776e27b684cee "
91
+ url "https://github.com/gnu-octave/statistics/archive/refs/tags/release-1.7.3 .tar.gz" , using : :nounzip
92
+ sha256 "570d52af975ea9861a6fb024c23fc0f403199e4b56d7a883ee6ca17072e26990 "
87
93
end
88
94
89
- ENV . cxx11
95
+ ENV . cxx
96
+ ENV . append "CXXFLAGS" , "-std=gnu++17"
90
97
ENV . delete "LDFLAGS" # avoid overriding Octave flags
91
98
92
99
# Work around Xcode 15.0 ld error with GCC: https://github.com/Homebrew/homebrew-core/issues/145991
0 commit comments