add a patch from svn that fixes tint on sparc64. OK sthen@

This commit is contained in:
edd 2010-07-19 15:17:45 +00:00
parent ff905902c8
commit cff3d5fe18
2 changed files with 17 additions and 1 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.8 2010/06/28 14:08:03 edd Exp $
# $OpenBSD: Makefile,v 1.9 2010/07/19 15:17:45 edd Exp $
COMMENT= lightweight freedesktop-compliant panel/taskbar/clock
DISTNAME= tint2-0.11
EXTRACT_SUFX= .tar.bz2
PKGNAME= tint-0.11
REVISION= 0
CATEGORIES= x11
HOMEPAGE= http://code.google.com/p/tint2/

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_panel_c,v 1.1 2010/07/19 15:17:45 edd Exp $
Patch from svn. Fixes tint2 on sparc64.
--- src/panel.c.orig Mon Jul 19 12:39:41 2010
+++ src/panel.c Mon Jul 19 12:39:55 2010
@@ -493,7 +493,7 @@ void set_panel_properties(Panel *p)
XChangeProperty(server.dsp, p->main_win, server.atom._MOTIF_WM_HINTS, server.atom._MOTIF_WM_HINTS, 32, PropModeReplace, (unsigned char *) prop, 5);
// XdndAware - Register for Xdnd events
- int version=5;
+ long version=5;
XChangeProperty(server.dsp, p->main_win, server.atom.XdndAware, XA_ATOM, 32, PropModeReplace, (unsigned char*)&version, 1);
update_strut(p);