Skip to content

Commit e279f53

Browse files
authored
Merge pull request #223412 from nwhetsell/csound-update
csound: fix building with Ableton Link
2 parents 1d62641 + 5c7f2e2 commit e279f53

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Formula/c/csound.rb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class Csound < Formula
33
homepage "https://csound.com"
44
license "LGPL-2.1-or-later"
55
revision 11
6-
head "https://github.com/csound/csound.git", branch: "master"
6+
head "https://github.com/csound/csound.git", branch: "develop"
77

88
# Remove `stable` block when patches are no longer needed
99
stable do
@@ -21,6 +21,12 @@ class Csound < Formula
2121
url "https://github.com/csound/csound/commit/2a071ae8ca89bc21b5c80037f8c95a01bb670ac9.patch?full_index=1"
2222
sha256 "c7026330b5c89ab399e74aff17019067705011b7e35b9c75f9ed1a5878f53b4b"
2323
end
24+
25+
# Fix build failure due to incorrect member name on macOS 15+
26+
patch do
27+
url "https://github.com/csound/csound/commit/bb9bafcfa17a87d3733eda1e25a812fd0be08ac6.patch?full_index=1"
28+
sha256 "b1492e344a7cc067989ef600a08319d388bebb344fee616d83dce969f3afe8cb"
29+
end
2430
end
2531

2632
livecheck do
@@ -76,8 +82,8 @@ class Csound < Formula
7682
conflicts_with "libextractor", because: "both install `extract` binaries"
7783

7884
resource "ableton-link" do
79-
url "https://github.com/Ableton/link/archive/refs/tags/Link-3.1.2.tar.gz"
80-
sha256 "2673dfad75b1484e8388deb8393673c3304b3ab5662dd5828e08e029ca8797aa"
85+
url "https://github.com/Ableton/link/archive/refs/tags/Link-3.1.3.tar.gz"
86+
sha256 "b0eba86d40a46b01ab821cdfb53041bfc693f0266538ea8163f1cea7ac42f476"
8187
end
8288

8389
resource "csound-plugins" do
@@ -242,6 +248,7 @@ def caveats
242248
assert_path_exists testpath/"test.mp3"
243249

244250
(testpath/"opcode-existence.orc").write <<~ORC
251+
gi_programHandle faustcompile "process = _;", "--vectorize --loop-variant 1"
245252
JackoInfo
246253
instr 1
247254
i_ websocket 8888, 0

0 commit comments

Comments
 (0)