<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/eac144dfee88a42f085bed7b1c552b08548692b3">https://github.com/macports/macports-ports/commit/eac144dfee88a42f085bed7b1c552b08548692b3</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new eac144dfee8 ocp: Fix build with clang 16
</span>eac144dfee8 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit eac144dfee88a42f085bed7b1c552b08548692b3
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Aug 6 02:02:32 2023 -0500

<span style='display:block; white-space:pre;color:#404040;'>    ocp: Fix build with clang 16
</span>---
 audio/ocp/Portfile          |  2 ++
 audio/ocp/files/const.patch | 27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/ocp/Portfile b/audio/ocp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 976da91c211..4a85424d48b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/ocp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/ocp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +40,8 @@ depends_lib-append      port:ancient \
</span>                         port:ncurses \
                         port:zlib
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles              const.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # ancient requires C++17
 compiler.cxx_standard   2017
 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/ocp/files/const.patch b/audio/ocp/files/const.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a6a61e23cdb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/ocp/files/const.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: incompatible function pointer types initializing 'const void (*)(uint16_t, const char *)' (aka 'const void (*)(unsigned short, const char *)') with an expression of type 'void (uint16_t, const char *)' (aka 'void (unsigned short, const char *)') [-Wincompatible-function-pointer-types]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: incompatible function pointer types initializing 'const void (*)(void)' with an expression of type 'void (void)' [-Wincompatible-function-pointer-types]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: incompatible function pointer types initializing 'const int (*)(void)' with an expression of type 'int (void)' [-Wincompatible-function-pointer-types]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: incompatible function pointer types initializing 'const void (*)(void)' with an expression of type 'void (void)' [-Wincompatible-function-pointer-types]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/mywave82/opencubicplayer/issues/105
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/mywave82/opencubicplayer/commit/638a348aae972471dc5c5f12897b2cf37d637951
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- filesel/filesystem-file-dev.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ filesel/filesystem-file-dev.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,11 +27,11 @@ struct DevInterfaceAPI_t
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   const struct dmDrive         *dmFile;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  const void (*KeyHelp) (uint16_t key, const char *shorthelp); /* Called on ALT-K to issue help about each keyboard shortcut */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  const void (*KeyHelpClear) (void); /* Clears the current keyboard shortcut list, only used by keyboard/display loops */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  const int  (*KeyHelpDisplay) (void); /* Draws the keyboard shortcut list and polls keyboard. Call for each draw-iteration until it returns zero */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  void (*KeyHelp) (uint16_t key, const char *shorthelp); /* Called on ALT-K to issue help about each keyboard shortcut */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  void (*KeyHelpClear) (void); /* Clears the current keyboard shortcut list, only used by keyboard/display loops */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  int  (*KeyHelpDisplay) (void); /* Draws the keyboard shortcut list and polls keyboard. Call for each draw-iteration until it returns zero */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  const void (*fsDraw) (void); /* Draws the filesystem browser, great for virtual devices that has a dialog */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  void (*fsDraw) (void); /* Draws the filesystem browser, great for virtual devices that has a dialog */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ struct IOCTL_DevInterface
</span></pre><pre style='margin:0'>

</pre>