<pre style='margin:0'>
kimura wataru (kimuraw) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b962aaaeb8a9811fdcb1c060f7fc939754a6aab0">https://github.com/macports/macports-ports/commit/b962aaaeb8a9811fdcb1c060f7fc939754a6aab0</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 b962aaaeb8a lang/ruby26: fix "implicit declaration of function" at vm.c
</span>b962aaaeb8a is described below

<span style='display:block; white-space:pre;color:#808000;'>commit b962aaaeb8a9811fdcb1c060f7fc939754a6aab0
</span>Author: kimura wataru <kimuraw@i.nifty.jp>
AuthorDate: Sun Apr 11 20:40:47 2021 +0900

<span style='display:block; white-space:pre;color:#404040;'>    lang/ruby26: fix "implicit declaration of function" at vm.c
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    fix missing declaration of `rb_native_mutex_destroy()`
</span><span style='display:block; white-space:pre;color:#404040;'>    https://bugs.ruby-lang.org/issues/17777
</span>---
 lang/ruby26/Portfile                          |  8 ++++----
 lang/ruby26/files/patch-ruby_issue_17777.diff | 11 +++++++++++
 2 files changed, 15 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ruby26/Portfile b/lang/ruby26/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 084964e56c5..ec70b610c3b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/ruby26/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ruby26/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup           select 1.0
</span> 
 name                ruby26
 version             2.6.7
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> 
 categories          lang ruby
 maintainers         {kimuraw @kimuraw} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,9 +55,6 @@ configure.args      --enable-shared \
</span>                     --with-opt-dir="${prefix}" \
                     --program-suffix=2.6 \
                     --with-rubylibprefix="${prefix}/lib/ruby2.6"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# avoid build error with apple clang 12
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://bugs.ruby-lang.org/issues/17777
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags-append -Wno-error=implicit-function-declaration
</span> 
 # patch-configure_cxx11.diff: fix "invalid suffix on literal" with C++11
 #                             from RUBY_ARCH and RUBY_PLATFORM in config.h
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -65,6 +62,9 @@ configure.cflags-append -Wno-error=implicit-function-declaration
</span> patchfiles          patch-configure_cxx11.diff
 # Fix test failure at ext/fiddle
 patchfiles-append   patch-test-fiddle-helper.rb.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# avoid build error with apple clang 12 (implicit declaration of function)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://bugs.ruby-lang.org/issues/17777
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-ruby_issue_17777.diff
</span> 
 # [NOTE] workaround for mismatch of sdk versions on macOS 11.x,
 # such as MacOSX11.0.sdk (buildbot) <=> MacOSX11.1.sdk (user's Mac).
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ruby26/files/patch-ruby_issue_17777.diff b/lang/ruby26/files/patch-ruby_issue_17777.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..396225948e2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ruby26/files/patch-ruby_issue_17777.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- vm.c.orig      2021-04-05 20:48:34.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ vm.c   2021-04-11 18:30:50.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,6 +27,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "probes_helper.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ VALUE rb_str_concat_literals(size_t, const VALUE*);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* https://bugs.ruby-lang.org/issues/17777 */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void rb_native_mutex_destroy(rb_nativethread_lock_t *lock);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PUREFUNC(static inline const VALUE *VM_EP_LEP(const VALUE *));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static inline const VALUE *
</span></pre><pre style='margin:0'>

</pre>