Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 1F77B7A220 for ; Tue, 7 Feb 2017 12:30:37 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 8B943855F7; Tue, 7 Feb 2017 12:30:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1C791855F2 for ; Tue, 7 Feb 2017 12:30:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id uu4zVkJ5W_QJ for ; Tue, 7 Feb 2017 12:30:35 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 93504855E1 for ; Tue, 7 Feb 2017 12:30:35 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 195A7FBE4; Tue, 7 Feb 2017 12:30:30 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1486470630152820" MIME-Version: 1.0 Date: Tue, 7 Feb 2017 12:30:30 +0000 From: "Roy Marples" Subject: CVS commit: pkgsrc/chat/weechat To: pkgsrc-changes@NetBSD.org Reply-To: roy@netbsd.org X-Mailer: log_accum Message-Id: <20170207123030.195A7FBE4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1486470630152820 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: roy Date: Tue Feb 7 12:30:30 UTC 2017 Modified Files: pkgsrc/chat/weechat: Makefile distinfo Added Files: pkgsrc/chat/weechat/patches: patch-src_gui_curses_gui-curses-main.c Log Message: Add a patch from upstream to improve screen refresh times when resized. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 pkgsrc/chat/weechat/Makefile cvs rdiff -u -r1.40 -r1.41 pkgsrc/chat/weechat/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/chat/weechat/patches/patch-src_gui_curses_gui-curses-main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1486470630152820 Content-Disposition: inline Content-Length: 2963 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/chat/weechat/Makefile diff -u pkgsrc/chat/weechat/Makefile:1.70 pkgsrc/chat/weechat/Makefile:1.71 --- pkgsrc/chat/weechat/Makefile:1.70 Sun Jan 22 15:31:28 2017 +++ pkgsrc/chat/weechat/Makefile Tue Feb 7 12:30:29 2017 @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.70 2017/01/22 15:31:28 jperkin Exp $ +# $NetBSD: Makefile,v 1.71 2017/02/07 12:30:29 roy Exp $ DISTNAME= weechat-1.7 +PKG_REVISION= 1 CATEGORIES= chat MASTER_SITES= http://www.weechat.org/files/src/ EXTRACT_SUFX= .tar.bz2 Index: pkgsrc/chat/weechat/distinfo diff -u pkgsrc/chat/weechat/distinfo:1.40 pkgsrc/chat/weechat/distinfo:1.41 --- pkgsrc/chat/weechat/distinfo:1.40 Sun Jan 22 01:32:53 2017 +++ pkgsrc/chat/weechat/distinfo Tue Feb 7 12:30:29 2017 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.40 2017/01/22 01:32:53 ryoon Exp $ +$NetBSD: distinfo,v 1.41 2017/02/07 12:30:29 roy Exp $ SHA1 (weechat-1.7.tar.bz2) = f8683d940417e8de1bfd933fff50fa1bbcf5d7b6 RMD160 (weechat-1.7.tar.bz2) = 0a7b7faad1362599db8273edcc205c2760e917d5 @@ -8,5 +8,6 @@ SHA1 (patch-ab) = 2a4583e0f5b0336e8c42ad SHA1 (patch-cmake_FindRuby_cmake.patch) = c9987559eca2240fddb03023092fa8d02ad25976 SHA1 (patch-po_CMakeLists.txt) = 9b97a4a4da4175e31ea53352fd0b95e1c985ba1e SHA1 (patch-src_gui_curses_CMakeLists_txt) = 28a1b3b9920cc130d0454a18b111d37b8090038b +SHA1 (patch-src_gui_curses_gui-curses-main.c) = 928b4049177574277f8b250a4c3f6c76b6d48113 SHA1 (patch-src_gui_curses_gui-curses-term_c) = 900af9a94e74f229b32031bfeced1b85ea3a0ccf SHA1 (patch-src_plugins_charset_charset.c) = f0b6e5268908caab5efa8048c8a55b0083ec0ca4 Added files: Index: pkgsrc/chat/weechat/patches/patch-src_gui_curses_gui-curses-main.c diff -u /dev/null pkgsrc/chat/weechat/patches/patch-src_gui_curses_gui-curses-main.c:1.1 --- /dev/null Tue Feb 7 12:30:30 2017 +++ pkgsrc/chat/weechat/patches/patch-src_gui_curses_gui-curses-main.c Tue Feb 7 12:30:29 2017 @@ -0,0 +1,30 @@ +$NetBSD: patch-src_gui_curses_gui-curses-main.c,v 1.1 2017/02/07 12:30:29 roy Exp $ + +Upstream commit d6977490d0c91b3417a383dd3d1a844657c09f84 + +core: fix delayed refresh when the signal SIGWINCH is received (terminal resized) + +--- src/gui/curses/gui-curses-main.c.orig 2017-02-07 10:57:15.926377533 +0000 ++++ src/gui/curses/gui-curses-main.c +@@ -451,10 +451,6 @@ gui_main_loop () + gui_color_pairs_auto_reset_pending = 1; + } + +- gui_main_refreshs (); +- if (gui_window_refresh_needed && !gui_window_bare_display) +- gui_main_refreshs (); +- + if (gui_signal_sigwinch_received) + { + (void) hook_signal_send ("signal_sigwinch", +@@ -463,6 +459,10 @@ gui_main_loop () + gui_window_ask_refresh (2); + } + ++ gui_main_refreshs (); ++ if (gui_window_refresh_needed && !gui_window_bare_display) ++ gui_main_refreshs (); ++ + gui_color_pairs_auto_reset_pending = 0; + + /* execute fd hooks */ --_----------=_1486470630152820--