ports/62841: bento-fix: x11-wm/fbdesk

Hendrik Scholz hendrik at scholz.net
Sat Feb 14 16:00:40 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list