<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/aa3861e8f7aef5d4f316b9aefd2f0e08053879c7">https://github.com/macports/macports-ports/commit/aa3861e8f7aef5d4f316b9aefd2f0e08053879c7</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit aa3861e8f7aef5d4f316b9aefd2f0e08053879c7
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Jan 2 19:28:30 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> joe37: Resurrect joe version 3.7
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/64324
</span>---
editors/joe/Portfile | 31 +++++++++++++++++++------
editors/joe/files/implicit-3.7.patch | 45 ++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/editors/joe/Portfile b/editors/joe/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8dcbcf0e216..212829e1cba 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/editors/joe/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/editors/joe/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,22 @@
</span> PortSystem 1.0
name joe
<span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts ${name} ${name}37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts-delete ${subport}
</span> version 4.6
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 cd5a8eff82b7e8043f1a5fdbc875ec37b4de5f5a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 495a0a61f26404070fe8a719d80406dc7f337623788e445b92a9f6de512ab9de \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1895046
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}37 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 7e2c72a750c6aac4732cf4369bceee5333460f15 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 cae456e1ad5a8c1d3c94920a3416c2347277739b260e3494d3bc0f2b9b73106f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 696036
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories editors
license GPL-2
platforms darwin freebsd
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,13 +38,15 @@ long_description JOE is the professional freeware ASCII text screen editor fo
</span> homepage https://sourceforge.net/projects/joe-editor/
master_sites sourceforge:project/joe-editor/JOE%20sources/joe-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 cd5a8eff82b7e8043f1a5fdbc875ec37b4de5f5a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 495a0a61f26404070fe8a719d80406dc7f337623788e445b92a9f6de512ab9de \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1895046
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles implicit.patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # fix sed-related build failures on Mountain Lion; see #35421
build.env LANG=C
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles implicit.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles implicit-${version}.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/editors/joe/files/implicit-3.7.patch b/editors/joe/files/implicit-3.7.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..1a5fcf4983f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/editors/joe/files/implicit-3.7.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,45 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conftest.c:53:2: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conftest.c:62:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conftest.c:115:2: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+tty.c:899:13: error: implicit declaration of function 'openpty' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+tty.c:1124:6: error: implicit declaration of function 'login_tty' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2008-10-29 22:07:22.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2022-01-02 19:15:22.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9172,7 +9172,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int main() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* exit succesfully if setpgrp() takes two args (*BSD systems) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit(setpgrp(0, 0) != 0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return setpgrp(0, 0) != 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm -f conftest$ac_exeext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10870,7 +10870,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int main() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int a = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ isblank(a++);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit(a != 1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return a != 1;
</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;'>+ _ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11196,7 +11196,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ kill((int)getpid(), SIGINT);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ kill((int)getpid(), SIGINT);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* exit succesfully if don't have to reinstall sighandler when invoked */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit(nsigint != 2);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return nsigint != 2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm -f conftest$ac_exeext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tty.c.orig 2008-11-02 14:53:40.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tty.c 2022-01-02 19:15:22.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,6 +6,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * This file is part of JOE (Joe's Own Editor)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "types.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <util.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* not needed: ioctl() moved to utils.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef GWINSZ_IN_SYS_IOCTL
</span></pre><pre style='margin:0'>
</pre>