<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/44b71302ff3dd7323cb540af427b2fc9258d1326">https://github.com/macports/macports-ports/commit/44b71302ff3dd7323cb540af427b2fc9258d1326</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 44b71302ff3 R-app: fix Sequoia build
</span>44b71302ff3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 44b71302ff3dd7323cb540af427b2fc9258d1326
</span>Author: Knapoc <Knapoc@users.noreply.github.com>
AuthorDate: Wed Sep 25 13:33:46 2024 +0200
<span style='display:block; white-space:pre;color:#404040;'> R-app: fix Sequoia build
</span>---
math/R-app/Portfile | 5 +++++
math/R-app/files/fix-sequoia-build.diff | 30 ++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/R-app/Portfile b/math/R-app/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e518837f977..cf46d858ca7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/R-app/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/R-app/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,6 +47,11 @@ if {${os.platform} eq "darwin" && ${os.major} > 12} {
</span> size 1311627
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# remove patchfile when https://github.com/R-macos/Mac-GUI/issues/15 is fixed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.major} > 23 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append fix-sequoia-build.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {${os.platform} eq "darwin" && ${os.major} < 11} {
# We need to use xib files from older version, newer fail to build with Xcode 3.x.
set legacy_ver 1.70
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/R-app/files/fix-sequoia-build.diff b/math/R-app/files/fix-sequoia-build.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7daa6202c5f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/R-app/files/fix-sequoia-build.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,30 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- REngine/Rinit.m.orig 2013-03-06 10:30:33
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ REngine/Rinit.m 2024-09-25 13:22:19
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -107,10 +107,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* ptr_R_Suicide = Re_Suicide; */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* ptr_R_CleanUp = Re_CleanUp; */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ptr_R_ShowMessage = Re_ShowMessage;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ptr_R_ReadConsole = Re_ReadConsole;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ptr_R_ShowMessage = (void (*)(const char *))Re_ShowMessage;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ptr_R_ReadConsole = (int (*)(const char *, unsigned char *, int, int))Re_ReadConsole;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ptr_R_WriteConsole = NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ptr_R_WriteConsoleEx = Re_WriteConsoleEx;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ptr_R_WriteConsoleEx = (void (*)(const char *, int, int))Re_WriteConsoleEx;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ptr_R_ResetConsole = Re_ResetConsole;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ptr_R_FlushConsole = Re_FlushConsole;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ptr_R_ClearerrConsole = Re_ClearerrConsole;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -121,10 +121,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ptr_R_loadhistory = Re_loadhistory;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ptr_R_savehistory = Re_savehistory;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ptr_R_EditFile = Re_Edit;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ptr_R_EditFile = (int (*)(const char *))Re_Edit;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ptr_R_ShowFiles = Re_ShowFiles;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ptr_R_EditFiles = Re_EditFiles;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ptr_R_ShowFiles = (int (*)(int, const char **, const char **, const char *, Rboolean, const char *))Re_ShowFiles;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ptr_R_EditFiles = (int (*)(int, const char **, const char **, const char *))Re_EditFiles;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ptr_R_ChooseFile = Re_ChooseFile;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ptr_CocoaSystem = Re_system;
</span></pre><pre style='margin:0'>
</pre>