ports/141216: [PATCH] x11/avant-window-navigator : fixing it with gnome-2.28

Gustau Pérez gustau.perez at gmail.com
Sun Dec 6 11:50:05 UTC 2009


>Number:         141216
>Category:       ports
>Synopsis:       [PATCH] x11/avant-window-navigator : fixing it with gnome-2.28
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 06 11:50:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Gustau Pérez
>Release:        FreeBSD 8.0-RELEASE
>Organization:
UPC
>Environment:
FreeBSD gusiport 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The x11/avant-window-navigator app seems to fail with the new gnome release (currently 2.28). With medium screen resolutions seems to start by adding a "-sync" when starting it. But with large screen resolutions (twinview resolutions of 2560x1280) it refuses to start.
It seems that the problem has something to do with an incorrect memory initialization. Patching $WRKSRC/libawn/awn-settings.c fixes the problem.
>How-To-Repeat:
Start avant-window-navigator from command-line. 
>Fix:


Patch attached with submission follows:

--- libawn/awn-settings.old.c	2009-12-05 08:14:18.000000000 +0000
+++ libawn/awn-settings.c	2009-12-05 08:14:31.000000000 +0000
@@ -139,7 +139,7 @@
 
   AwnSettings *s = NULL;
 
-  s = g_new(AwnSettings, 1);
+  s = g_new0(AwnSettings, 1);
 
   settings = s;
 


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



More information about the freebsd-ports-bugs mailing list