Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2009 11:48:38 GMT
From:      Gustau Pérez <gustau.perez@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/141216: [PATCH] x11/avant-window-navigator : fixing it with gnome-2.28
Message-ID:  <200912061148.nB6BmcRs040037@www.freebsd.org>
Resent-Message-ID: <200912061150.nB6Bo4hY020723@freefall.freebsd.org>

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

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



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