From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 6 11:50:05 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F15C1065676 for ; Sun, 6 Dec 2009 11:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C6D6A8FC1B for ; Sun, 6 Dec 2009 11:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nB6Bo4jf020724 for ; Sun, 6 Dec 2009 11:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB6Bo4hY020723; Sun, 6 Dec 2009 11:50:04 GMT (envelope-from gnats) Resent-Date: Sun, 6 Dec 2009 11:50:04 GMT Resent-Message-Id: <200912061150.nB6Bo4hY020723@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gustau Pérez Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 460C9106566B for ; Sun, 6 Dec 2009 11:48:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 34BA28FC17 for ; Sun, 6 Dec 2009 11:48:39 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nB6BmdGl040038 for ; Sun, 6 Dec 2009 11:48:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nB6BmcRs040037; Sun, 6 Dec 2009 11:48:38 GMT (envelope-from nobody) Message-Id: <200912061148.nB6BmcRs040037@www.freebsd.org> Date: Sun, 6 Dec 2009 11:48:38 GMT From: Gustau Pérez To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/141216: [PATCH] x11/avant-window-navigator : fixing it with gnome-2.28 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2009 11:50:05 -0000 >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: