pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/putty putty: fix build after gdk_beep became ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eb380df15053
branches: trunk
changeset: 383471:eb380df15053
user: maya <maya%pkgsrc.org@localhost>
date: Wed Aug 01 05:34:17 2018 +0000
description:
putty: fix build after gdk_beep became deprecated.
bump pkgrevision for paranoia.
diffstat:
security/putty/Makefile | 4 ++--
security/putty/distinfo | 5 +++--
security/putty/patches/patch-unix_gtkdlg.c | 24 ++++++++++++++++++++++++
security/putty/patches/patch-unix_gtkwin.c | 14 ++++++++++++--
4 files changed, 41 insertions(+), 6 deletions(-)
diffs (89 lines):
diff -r 530d2979a9e7 -r eb380df15053 security/putty/Makefile
--- a/security/putty/Makefile Tue Jul 31 22:06:54 2018 +0000
+++ b/security/putty/Makefile Wed Aug 01 05:34:17 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.52 2018/04/16 14:35:08 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2018/08/01 05:34:17 maya Exp $
#
DISTNAME= putty-0.69
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= security
MASTER_SITES= http://the.earth.li/~sgtatham/putty/${PKGVERSION_NOREV}/
diff -r 530d2979a9e7 -r eb380df15053 security/putty/distinfo
--- a/security/putty/distinfo Tue Jul 31 22:06:54 2018 +0000
+++ b/security/putty/distinfo Wed Aug 01 05:34:17 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2017/05/04 12:52:35 ryoon Exp $
+$NetBSD: distinfo,v 1.24 2018/08/01 05:34:17 maya Exp $
SHA1 (putty-0.69.tar.gz) = f98ec09ecba4d9a4efc66fac5c86078cef27b41a
RMD160 (putty-0.69.tar.gz) = e120ead901dacd233885adb36afa82aaa10ad469
@@ -8,7 +8,8 @@
SHA1 (patch-misc.c) = fb7ba23f3c3301181d2ca7666a037f7bb3ac3f7b
SHA1 (patch-timing.c) = 9dd79fde390878960e97c456628bbd5dcbcd07f9
SHA1 (patch-unix_Makefile.gtk) = 399636a9b6d445fa0cdd55c7a887efa8f03bdc94
-SHA1 (patch-unix_gtkwin.c) = 110079a07a802f93705c6526a14069491f1c313e
+SHA1 (patch-unix_gtkdlg.c) = 35b60132e3882ebdfeaa5e613a12b2daeb332451
+SHA1 (patch-unix_gtkwin.c) = 0df64e21e96fd9167aaf2bc4cdc9d52d99373218
SHA1 (patch-unix_uxnet.c) = 2d1c2939721993fe5616c2fe3f1935c03a31bb35
SHA1 (patch-unix_uxpgnt.c) = b5625b33b940ea2870d3e91d38e2303a80d6887b
SHA1 (patch-unix_uxucs.c) = a2a5021b515c3bade1126ed062bdc1eece1ca0f9
diff -r 530d2979a9e7 -r eb380df15053 security/putty/patches/patch-unix_gtkdlg.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/putty/patches/patch-unix_gtkdlg.c Wed Aug 01 05:34:17 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-unix_gtkdlg.c,v 1.1 2018/08/01 05:34:18 maya Exp $
+
+gdk_beep deprecated, replace with gdk_display_beep.
+
+--- unix/gtkdlg.c.orig 2017-04-24 13:52:45.000000000 +0000
++++ unix/gtkdlg.c
+@@ -1037,7 +1037,7 @@ void dlg_set_focus(union control *ctrl,
+ */
+ void dlg_beep(void *dlg)
+ {
+- gdk_beep();
++ gdk_display_beep(gdk_display_get_default());
+ }
+
+ #if !GTK_CHECK_VERSION(3,0,0)
+@@ -1491,7 +1491,7 @@ static void draglist_move(struct dlgpara
+ if ((index < 0) ||
+ (index == 0 && direction < 0) ||
+ (index == g_list_length(children)-1 && direction > 0)) {
+- gdk_beep();
++ gdk_display_beep(gdk_display_get_default());
+ return;
+ }
+
diff -r 530d2979a9e7 -r eb380df15053 security/putty/patches/patch-unix_gtkwin.c
--- a/security/putty/patches/patch-unix_gtkwin.c Tue Jul 31 22:06:54 2018 +0000
+++ b/security/putty/patches/patch-unix_gtkwin.c Wed Aug 01 05:34:17 2018 +0000
@@ -1,8 +1,9 @@
-$NetBSD: patch-unix_gtkwin.c,v 1.4 2017/03/17 00:11:48 maya Exp $
+$NetBSD: patch-unix_gtkwin.c,v 1.5 2018/08/01 05:34:18 maya Exp $
Make the home/end keys work on BSD servers as well as Linux ones
+gdk_beep deprecated, use gdk_display_beep.
---- unix/gtkwin.c.orig 2017-02-18 17:10:15.000000000 +0000
+--- unix/gtkwin.c.orig 2017-04-24 13:52:45.000000000 +0000
+++ unix/gtkwin.c
@@ -1586,13 +1586,21 @@ gint key_event(GtkWidget *widget, GdkEve
use_ucsoutput = FALSE;
@@ -30,3 +31,12 @@
goto done;
}
if (code) {
+@@ -2921,7 +2929,7 @@ void sys_cursor(void *frontend, int x, i
+ void do_beep(void *frontend, int mode)
+ {
+ if (mode == BELL_DEFAULT)
+- gdk_beep();
++ gdk_display_beep(gdk_display_get_default());
+ }
+
+ int char_width(Context ctx, int uc)
Home |
Main Index |
Thread Index |
Old Index