Skip to content

Commit 22af215

Browse files
committed
dynare: revision bump (octave 10.1.0)
1 parent 72e071f commit 22af215

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Formula/d/dynare.rb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Dynare < Formula
44
url "https://www.dynare.org/release/source/dynare-6.3.tar.xz"
55
sha256 "232788788a72c7bc4329eaa4e1ed24318c264095d7646622b871d6e711ff322c"
66
license "GPL-3.0-or-later"
7+
revision 1
78
head "https://git.dynare.org/Dynare/dynare.git", branch: "master"
89

910
livecheck do
@@ -48,6 +49,11 @@ class Dynare < Formula
4849
sha256 "fa80f7c75dab6bfaca93c3b374c774fd87876f34fba969af9133eeaea5f39a3d"
4950
end
5051

52+
patch do
53+
url "https://git.dynare.org/Dynare/dynare/-/commit/e3ff2f108862b462bfb8f5b92bcebaaf6f8a6aa9.patch?full_index=1"
54+
sha256 "79a334a8198c435563fe66e3f87bbbb534ae908c5cbe489cfabe3d4a0ac2b9f8"
55+
end
56+
5157
def install
5258
resource("slicot").stage do
5359
system "make", "lib", "OPTS=-fPIC", "SLICOTLIB=../libslicot_pic.a",
@@ -82,11 +88,12 @@ def caveats
8288

8389
test do
8490
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"
8793
end
8894

89-
ENV.cxx11
95+
ENV.cxx
96+
ENV.append "CXXFLAGS", "-std=c++17"
9097
ENV.delete "LDFLAGS" # avoid overriding Octave flags
9198

9299
# Work around Xcode 15.0 ld error with GCC: https://github.com/Homebrew/homebrew-core/issues/145991

0 commit comments

Comments
 (0)