Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2004 10:56:21 -0500 (EST)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62841: bento-fix: x11-wm/fbdesk
Message-ID:  <20040214155621.E29F73983C@slurmcan.wormulon.net>
Resent-Message-ID: <200402141600.i1EG0ekf069798@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62841
>Category:       ports
>Synopsis:       bento-fix: x11-wm/fbdesk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 14 08:00:39 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 5.2.1-RC amd64
>Organization:
>Environment:
System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root@ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
bento reports:

- http://bento.freebsd.org/errorlogs/sparc64-5-full/fbdesk-1.1.5.log
- http://bento.freebsd.org/errorlogs/ia64-5-full/fbdesk-1.1.5.log
- http://bento.freebsd.org/errorlogs/amd64-5-full/fbdesk-1.1.5.log
- ...

The attached patch (move to files/) fixes these issues on both 64 and 
32Bit platforms.

The original author has been notified but since there hasn't been a 
new fbdesk release for quite some time please add the patch to the local
tree.

>How-To-Repeat:
	
>Fix:

	

--- patch-src::FbTk::FbWindow.cc begins here ---
--- src/FbTk/FbWindow.cc.orig	Sat Feb 14 10:48:03 2004
+++ src/FbTk/FbWindow.cc	Sat Feb 14 10:48:11 2004
@@ -168,7 +168,8 @@
     Window root;
     size_t border_width, depth;
     XGetGeometry(s_display, m_window, &root, &m_x, &m_y,
-                 &m_width, &m_height, &border_width, &depth);
+                (unsigned int*) &m_width, (unsigned int*) &m_height,
+				(unsigned int*) &border_width, (unsigned int*) &depth);
 }
 
 void FbWindow::create(Window parent, int x, int y,
--- patch-src::FbTk::FbWindow.cc ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040214155621.E29F73983C>