<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/37f66b2d2c3186b8c5c4dce74027bceb61449a70">https://github.com/macports/macports-ports/commit/37f66b2d2c3186b8c5c4dce74027bceb61449a70</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 37f66b2 libedit: update version 20180525-3.1->20181209-3.1
</span>37f66b2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 37f66b2d2c3186b8c5c4dce74027bceb61449a70
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Dec 15 21:34:53 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> libedit: update version 20180525-3.1->20181209-3.1
</span>---
devel/libedit/Portfile | 9 ++++-----
devel/libedit/files/patch-non_ascii.diff | 15 +++++++--------
devel/libedit/files/readline.c.patch | 16 ++++++++--------
3 files changed, 19 insertions(+), 21 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libedit/Portfile b/devel/libedit/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index be244cd..edf98a4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libedit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libedit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,8 +5,7 @@ PortGroup muniversal 1.0
</span>
name libedit
epoch 20090923
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20180525-3.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20181209-3.1
</span> categories devel
platforms darwin
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,9 +20,9 @@ homepage http://thrysoee.dk/editline/
</span> master_sites ${homepage} \
http://download.openpkg.org/components/cache/libedit/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 2de97f4e6db1fb8fee872de1710134c474677e17 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c41bea8fd140fb57ba67a98ec1d8ae0b8ffa82f4aba9c35a87e5a9499e653116 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 521999
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 7171331f50310f8387cfb26188bdcb61aa2435c2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2811d70c0b000f2ca91b7cb1a37203134441743c4fcc9c37b0b687f328611064 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 521931
</span>
depends_lib port:ncurses
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libedit/files/patch-non_ascii.diff b/devel/libedit/files/patch-non_ascii.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 495c36d..9be7658 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libedit/files/patch-non_ascii.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libedit/files/patch-non_ascii.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +1,14 @@
</span> diff -ur src/el.c /Users/macports/Fix/libedit-48/src/el.c
--- src/el.c 2012-12-13 13:01:25.000000000 -0700
+++ src/el.c.orig 2013-02-07 11:05:15.000000000 -0700
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -123,7 +123,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -122,6 +122,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /*
</span> * Initialize all the modules. Order is important!!!
*/
<span style='display:block; white-space:pre;background:#ffe0e0;'>- el->el_flags = flags;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if (setlocale(LC_CTYPE, NULL) != NULL){
</span> + char *loc = setlocale(LC_CTYPE, NULL);
+ if (loc != NULL && strcmp(loc, "C") == 0)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ loc = setlocale(LC_CTYPE, "");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (loc != NULL) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (strcmp(nl_langinfo(CODESET), "UTF-8") == 0)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- el->el_flags |= CHARSET_IS_UTF8;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ setlocale(LC_CTYPE, "");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ el->el_flags = flags;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (terminal_init(el) == -1) {
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libedit/files/readline.c.patch b/devel/libedit/files/readline.c.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 1b8e27d..045ea2c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libedit/files/readline.c.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libedit/files/readline.c.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +1,14 @@
</span> --- src/readline.c.orig 2017-03-30 05:15:04.000000000 +1100
+++ src/readline.c 2017-09-12 19:37:40.000000000 +1000
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2076,7 +2076,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2075,7 +2075,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else
</span> wbuf = NULL;
(*(void (*)(const char *))rl_linefunc)(wbuf);
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if (!rl_already_prompted) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- el_set(e, EL_UNBUFFERED, 1);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ /* rl_linefunc might have called rl_callback_handler_remove */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if (rl_linefunc != NULL) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- el_set(e, EL_UNBUFFERED, 1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* rl_linefunc might have called rl_callback_handler_remove */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (rl_linefunc != NULL) {
</span> + el_set(e, EL_UNBUFFERED, 1);
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rl_already_prompted = 1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</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;'>+
</span></pre><pre style='margin:0'>
</pre>