Add the patches missed 10mn ago, and bump again for safety.

This commit is contained in:
jca 2014-02-26 20:07:18 +00:00
parent 3dd2b03149
commit a3482f4df5
3 changed files with 30 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.28 2014/02/26 19:54:15 jca Exp $
# $OpenBSD: Makefile,v 1.29 2014/02/26 20:07:18 jca Exp $
COMMENT= minimal wm based on GNU screen
DISTNAME= ratpoison-1.4.6
REVISION= 0
REVISION= 1
CATEGORIES= x11
HOMEPAGE= http://www.nongnu.org/ratpoison/

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_actions_c,v 1.5 2014/02/26 20:07:18 jca Exp $
Bugfix for recent firefox versions.
Applied-Upstream: 782e5d0f60412682ca5facde2d566c02bd176902
--- src/actions.c.orig Thu Feb 20 02:37:37 2014
+++ src/actions.c Thu Feb 20 02:40:48 2014
@@ -1168,6 +1168,8 @@ cmd_meta (int interactive UNUSED, struct cmdarg **args
if (current_window() == NULL)
return cmdret_new (RET_FAILURE, NULL);
+ memset(&ev1, 0, sizeof(ev1));
+
ev1.xkey.type = KeyPress;
ev1.xkey.display = dpy;
ev1.xkey.window = current_window()->w;

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_manage_c,v 1.1 2014/02/26 20:07:18 jca Exp $
Erroneous change introduced in 1.4.6.
Applied-Upstream: 5201477cbcb276bd13ec07e3d57b8c6cefe8201a
--- src/manage.c.orig Thu Feb 20 02:41:38 2014
+++ src/manage.c Thu Feb 20 02:41:13 2014
@@ -233,7 +233,7 @@ get_wmname (Window w)
if (XGetWMName (dpy, w, &text_prop) == 0)
{
- PRINT_ERROR (("XGetWMName failed\n"));
+ PRINT_DEBUG (("XGetWMName failed\n"));
return NULL;
}