<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/02de90bfd277b3a6fe8ee93b48fd75162c0ea075">https://github.com/macports/macports-ports/commit/02de90bfd277b3a6fe8ee93b48fd75162c0ea075</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 02de90bfd277b3a6fe8ee93b48fd75162c0ea075
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Sun Oct 1 19:35:44 2023 +0800

<span style='display:block; white-space:pre;color:#404040;'>    R-webfakes: update to 1.2.1
</span>---
 R/R-webfakes/Portfile                | 14 +++++++++-----
 R/R-webfakes/files/patch-timers.diff | 12 ++++++++++++
 2 files changed, 21 insertions(+), 5 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-webfakes/Portfile b/R/R-webfakes/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index abcc7d1ec5d..057b2eebec2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/R/R-webfakes/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-webfakes/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,19 +3,19 @@
</span> PortSystem          1.0
 PortGroup           R 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-R.setup             github r-lib webfakes 1.2.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+R.setup             github r-lib webfakes 1.2.1 v
</span> revision            0
 categories-append   devel
 maintainers         nomaintainer
 license             MIT
 description         Fake web-apps for HTTP testing
 long_description    {*}${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  e63dae3f600a9333169d15618425984986ff0d0e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  ac56841d383f0e078c2f2ac2b7b6f032654247a14e7efcd967ca3ed61a07f197 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    379071
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  033f2305c7004c1ecf2fa899dea2777c2e91eec2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  544c3ab61e674f1448fafca36184a2f2afe87db7f71dbd0bae2175a7f2e55a4b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    379123
</span> 
 # If R will support universal builds, then in a case of ppc+x86, endian define should be dropped.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles          patch-endian.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-endian.diff
</span> post-patch {
     if {${configure.build_arch} in [list ppc ppc64]} {
         reinplace "s,@ENDIAN_FLAG@,-DARCH_IS_BIG_ENDIAN=1," ${worksrcpath}/src/Makevars
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,6 +24,10 @@ post-patch {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# See: https://trac.macports.org/ticket/68308
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Tests pass after this patch. Review this later again.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-timers.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_test-append port:R-brotli \
                     port:R-callr \
                     port:R-covr \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-webfakes/files/patch-timers.diff b/R/R-webfakes/files/patch-timers.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4af2266afdd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-webfakes/files/patch-timers.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/civetweb.c.orig    2023-10-01 02:51:01.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/civetweb.c 2023-10-01 19:22:44.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -361,9 +361,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</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;'>+-#define CLOCK_MONOTONIC (1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define CLOCK_REALTIME (2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <mach/clock.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <mach/mach.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <mach/mach_time.h>
</span></pre><pre style='margin:0'>

</pre>