pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/mlterm mlterm: apply upstream patch for 3.8.8.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d1d00349df0
branches:  trunk
changeset: 397397:4d1d00349df0
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Sat Jun 22 04:27:54 2019 +0000

description:
mlterm: apply upstream patch for 3.8.8.

Bump PKGREVISION.

diffstat:

 x11/mlterm/Makefile                                    |   3 +-
 x11/mlterm/distinfo                                    |   3 +-
 x11/mlterm/patches/patch-uitoolkit_ui__event__source.c |  39 ++++++++++++++++++
 3 files changed, 43 insertions(+), 2 deletions(-)

diffs (69 lines):

diff -r 7f7f74215a36 -r 4d1d00349df0 x11/mlterm/Makefile
--- a/x11/mlterm/Makefile       Sat Jun 22 04:12:17 2019 +0000
+++ b/x11/mlterm/Makefile       Sat Jun 22 04:27:54 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.147 2019/04/05 12:14:58 tsutsui Exp $
+# $NetBSD: Makefile,v 1.148 2019/06/22 04:27:54 tsutsui Exp $
 
 DISTNAME=      mlterm-3.8.8
+PKGREVISION=   1
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mlterm/}
 
diff -r 7f7f74215a36 -r 4d1d00349df0 x11/mlterm/distinfo
--- a/x11/mlterm/distinfo       Sat Jun 22 04:12:17 2019 +0000
+++ b/x11/mlterm/distinfo       Sat Jun 22 04:27:54 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.76 2019/04/05 12:14:58 tsutsui Exp $
+$NetBSD: distinfo,v 1.77 2019/06/22 04:27:54 tsutsui Exp $
 
 SHA1 (mlterm-3.8.8.tar.gz) = 54f40fa50214656ab70f592d5d58805b1dfdc1c6
 RMD160 (mlterm-3.8.8.tar.gz) = 9a7675a86999541b57742099a5e9eac8a539b580
@@ -6,3 +6,4 @@
 Size (mlterm-3.8.8.tar.gz) = 4035215 bytes
 SHA1 (patch-configure) = e95b426f028c9bcb9895e69bb85ce8450f78a8c8
 SHA1 (patch-etc_font-fb) = 03f0b2ecee20ef3201c8e4ce17f03ac90f657b00
+SHA1 (patch-uitoolkit_ui__event__source.c) = 4cf872768491bc8da5fc080cfd3a50969324a162
diff -r 7f7f74215a36 -r 4d1d00349df0 x11/mlterm/patches/patch-uitoolkit_ui__event__source.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/mlterm/patches/patch-uitoolkit_ui__event__source.c    Sat Jun 22 04:27:54 2019 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-uitoolkit_ui__event__source.c,v 1.1 2019/06/22 04:27:54 tsutsui Exp $
+
+- pull upstream fix for 3.8.8:
+ https://sourceforge.net/projects/mlterm/files/01release/mlterm-3.8.8/mlterm-3.8.8-fixes.patch
+ https://bitbucket.org/arakiken/mlterm/commits/1a4368580a3a2a6239bfde5a7829645767ae0fa9
+ > Fix https://sourceforge.net/p/mlterm/mailman/message/36633222/
+ >  [Mlterm-dev-en] mlterm 3.8.8 slow exit
+
+--- uitoolkit/ui_event_source.c.orig   2019-03-31 13:10:47.000000000 +0000
++++ uitoolkit/ui_event_source.c
+@@ -8,7 +8,6 @@
+ #include <string.h>       /* memset/memcpy */
+ #include <sys/time.h>     /* timeval */
+ #include <unistd.h>       /* select */
+-#include <errno.h>
+ #include <pobl/bl_file.h> /* bl_file_set_cloexec */
+ #endif
+ 
+@@ -169,16 +168,14 @@ static void receive_next_event(void) {
+ #endif
+     if ((ret = select(maxfd + 1, &read_fds, NULL, NULL, &tval)) != 0) {
+       if (ret < 0) {
+-        if (errno != EINTR) {
+ #ifdef DEBUG
+-          bl_debug_printf(BL_DEBUG_TAG " error happened in select.\n");
++        bl_debug_printf(BL_DEBUG_TAG " error happened in select.\n");
+ #endif
+ 
+-          return;
+-        }
+-      } else {
+-        break;
++        return;
+       }
++
++      break;
+     }
+ 
+ #ifdef KEY_REPEAT_BY_MYSELF



Home | Main Index | Thread Index | Old Index