Skip to content

Commit 4c5bdd4

Browse files
committed
csound: fix build failure due to incorrect member name
1 parent c63edc8 commit 4c5bdd4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Formula/c/csound.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,23 @@ 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 <<~DIFF
27+
diff --git a/include/plugin.h b/include/plugin.h
28+
index dcf011e6b..55e8055bf 100644
29+
--- a/include/plugin.h
30+
+++ b/include/plugin.h
31+
@@ -1002,7 +1002,7 @@ template <std::size_t N> struct InPlug : OPDS {
32+
/** check if this opcode runs at perf time
33+
*/
34+
bool is_perf() {
35+
- return this->opaddr ? true : false;
36+
+ return this->opadr ? true : false;
37+
}
38+
39+
};
40+
DIFF
2441
end
2542

2643
livecheck do

0 commit comments

Comments
 (0)