<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/a5b738b716219b25779ff674cee7b25950d6dd50">https://github.com/macports/macports-ports/commit/a5b738b716219b25779ff674cee7b25950d6dd50</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a5b738b716219b25779ff674cee7b25950d6dd50
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Tue Mar 21 23:02:38 2023 +0700
<span style='display:block; white-space:pre;color:#404040;'> R-ps: update to 1.7.3
</span>---
R/R-ps/Portfile | 12 +++++----
.../0001-api-macos.c-fix-missing-stdbool.patch | 25 -----------------
.../0001-api-macos.c-restore-PPC-support.patch | 31 ++++++++++++++++++++++
3 files changed, 38 insertions(+), 30 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-ps/Portfile b/R/R-ps/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6ef42d7ed01..6a78eb2c092 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/R/R-ps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/R/R-ps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,8 @@
</span> PortSystem 1.0
PortGroup R 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-R.setup github r-lib ps 1.7.2 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# GitHub version lags behind.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+R.setup cran r-lib ps 1.7.3
</span> revision 0
categories-append sysutils
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,12 +13,12 @@ description R package to query, list and manipulate system processes
</span> long_description ps implements an API to query and manipulate system processes. \
Most of its code is based on the psutil Python package.
homepage https://ps.r-lib.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 5812db339dbceccc75b2fff17737b4df6cba099b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 bd872ec2b8ba863c4f18d179653256cc9e4a66bc1ef5162afd912a92dea20c6e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 131072
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 706626b247a3abf30e9c4f63dbb57562a6abbfdd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 3bac42ec52591508a9dae825216068a9586622a12835f0eb1d6d141139b09697 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 129157
</span>
patch.pre_args -p1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles 0001-api-macos.c-fix-missing-stdbool.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles 0001-api-macos.c-restore-PPC-support.patch
</span>
configure.env-append \
RBIN=${r.cmd}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,4 +33,5 @@ depends_test-append port:R-callr \
</span> port:R-rlang \
port:R-testthat
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Some tests fail on older macOS: https://github.com/r-lib/ps/issues/137
</span> test.run yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-ps/files/0001-api-macos.c-fix-missing-stdbool.patch b/R/R-ps/files/0001-api-macos.c-fix-missing-stdbool.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 1379254de29..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/R/R-ps/files/0001-api-macos.c-fix-missing-stdbool.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,25 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From 9d03794e9e610520d903d50a104bd7168c67a6dd Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From: Sergey Fedorov <vital.had@gmail.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Sun, 4 Dec 2022 15:27:33 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subject: [PATCH] api-macos.c: fix missing stdbool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/api-macos.c | 2 ++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 2 insertions(+)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/src/api-macos.c b/src/api-macos.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index a893ef9..93c7bbb 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- a/src/api-macos.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/src/api-macos.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -21,6 +21,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include "ps-internal.h"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include "arch/macos/process_info.h"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <stdbool.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define PS__TV2DOUBLE(t) ((t).tv_sec + (t).tv_usec / 1000000.0)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define PS__CHECK_KINFO(kp, handle) \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-2.38.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/R/R-ps/files/0001-api-macos.c-restore-PPC-support.patch b/R/R-ps/files/0001-api-macos.c-restore-PPC-support.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d163b27e16e
</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-ps/files/0001-api-macos.c-restore-PPC-support.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,31 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 7387cb6f3e5f958af99eaf51a14a892a8fb1bf52 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Sergey Fedorov <vital.had@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Tue, 21 Mar 2023 22:33:49 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] api-macos.c: restore PPC support
</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;'>+ src/api-macos.c | 8 ++++++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 8 insertions(+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/src/api-macos.c b/src/api-macos.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 93c7bbb..f862589 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/src/api-macos.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/src/api-macos.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -839,6 +839,14 @@ static bool ps_in_shared_region(mach_vm_address_t addr, cpu_type_t type) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ base = SHARED_REGION_BASE_X86_64;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size = SHARED_REGION_SIZE_X86_64;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case CPU_TYPE_POWERPC:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ base = SHARED_REGION_BASE_PPC;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ size = SHARED_REGION_SIZE_PPC;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case CPU_TYPE_POWERPC64:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ base = SHARED_REGION_BASE_PPC64;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ size = SHARED_REGION_SIZE_PPC64;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return false;
</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;'>+2.39.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>