<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5a598d24e40f31737de4e8724dfcd9a0d15d0501">https://github.com/macports/macports-ports/commit/5a598d24e40f31737de4e8724dfcd9a0d15d0501</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5a598d24e40f31737de4e8724dfcd9a0d15d0501
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon May 23 00:34:30 2022 -0500

<span style='display:block; white-space:pre;color:#404040;'>    portmidi: Use a patch file, not a reinplace
</span>---
 audio/portmidi/Portfile                                  |  4 ++--
 audio/portmidi/files/patch-pm_common-CMakeLists.txt.diff | 14 ++++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/portmidi/Portfile b/audio/portmidi/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ed4845db188..062464fa278 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/portmidi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/portmidi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,11 +24,11 @@ checksums           rmd160  6209405e5e9c4c41d8d474a84f1eba7d25babd56 \
</span> # added as separate ports, with a dependency on an appropriate openjdk
 # port, if there is interest.
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles          patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          patch-CMakeLists.txt.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    patch-pm_common-CMakeLists.txt.diff
</span> 
 post-patch {
     reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/pm_mac/Makefile.osx
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace "s|CoreMidi REQUIRED|CoreMIDI REQUIRED|g" ${worksrcpath}/pm_common/CMakeLists.txt
</span> }
 
 # QOS_CLASS_USER_INTERACTIVE is available since Yosemite.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/portmidi/files/patch-pm_common-CMakeLists.txt.diff b/audio/portmidi/files/patch-pm_common-CMakeLists.txt.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4f70a4f0997
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/portmidi/files/patch-pm_common-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix capitalization of CoreMIDI framework to fix build on case-sensitive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+filesystems.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/PortMidi/portmidi/commit/b0e76245dcb43a8ad7be3d8fe7a99f9838c76f59
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pm_common/CMakeLists.txt.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pm_common/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -83,7 +83,7 @@ if(UNIX AND APPLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   set(Threads::Threads "" PARENT_SCOPE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   find_library(COREAUDIO_LIBRARY CoreAudio REQUIRED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   find_library(COREFOUNDATION_LIBRARY CoreFoundation REQUIRED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  find_library(COREMIDI_LIBRARY CoreMidi REQUIRED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  find_library(COREMIDI_LIBRARY CoreMIDI REQUIRED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   find_library(CORESERVICES_LIBRARY CoreServices REQUIRED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   set(PM_LIB_PRIVATE_SRC 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+       ${PMDIR}/porttime/ptmacosx_mach.c
</span></pre><pre style='margin:0'>

</pre>