Skip to content

Commit 21c46ba

Browse files
committed
csound: use upstream commit for patch
1 parent 4c5bdd4 commit 21c46ba

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

Formula/c/csound.rb

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,10 @@ class Csound < Formula
2323
end
2424

2525
# 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
26+
patch do
27+
url "https://github.com/csound/csound/commit/bb9bafcfa17a87d3733eda1e25a812fd0be08ac6.patch?full_index=1"
28+
sha256 "b1492e344a7cc067989ef600a08319d388bebb344fee616d83dce969f3afe8cb"
29+
end
4130
end
4231

4332
livecheck do

0 commit comments

Comments
 (0)