svn commit: r425584 - in head/security/openssh-askpass: . files

Hiroki Sato hrs at FreeBSD.org
Sun Nov 6 21:19:34 UTC 2016


Author: hrs
Date: Sun Nov  6 21:19:33 2016
New Revision: 425584
URL: https://svnweb.freebsd.org/changeset/ports/425584

Log:
  Add obsolete window size hint information.  This solved
  a problem with i3 window manager which could make the
  ssh-askpass window too small.
  
  Suggested by:	Guilherme Salazar
  Obtained from:	https://groups.google.com/forum/#!topic/mailing.openbsd.tech/MKSja1XZzOs

Added:
  head/security/openssh-askpass/files/patch-x11-ssh-askpass.c   (contents, props changed)
Modified:
  head/security/openssh-askpass/Makefile

Modified: head/security/openssh-askpass/Makefile
==============================================================================
--- head/security/openssh-askpass/Makefile	Sun Nov  6 21:16:37 2016	(r425583)
+++ head/security/openssh-askpass/Makefile	Sun Nov  6 21:19:33 2016	(r425584)
@@ -3,7 +3,7 @@
 
 PORTNAME=	OpenSSH-askpass
 PORTVERSION=	1.2.4.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 MASTER_SITES=	http://www.jmknoble.net/software/x11-ssh-askpass/
 DISTNAME=	x11-ssh-askpass-${PORTVERSION}

Added: head/security/openssh-askpass/files/patch-x11-ssh-askpass.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/openssh-askpass/files/patch-x11-ssh-askpass.c	Sun Nov  6 21:19:33 2016	(r425584)
@@ -0,0 +1,13 @@
+--- x11-ssh-askpass.c.orig	2016-11-06 16:18:21.595954000 +0900
++++ x11-ssh-askpass.c	2016-11-06 16:20:39.207609000 +0900
+@@ -764,6 +764,10 @@
+    d->sizeHints->flags = 0;
+    d->sizeHints->flags |= PPosition;
+    d->sizeHints->flags |= PSize;
++   d->sizeHints->x = d->w3.w.x; 
++   d->sizeHints->y = d->w3.w.y;
++   d->sizeHints->width = d->w3.w.width;
++   d->sizeHints->height = d->w3.w.height;
+    d->sizeHints->min_width = d->w3.w.width;
+    d->sizeHints->min_height = d->w3.w.height;
+    d->sizeHints->flags |= PMinSize;


More information about the svn-ports-head mailing list