From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 23 02:40:05 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C48D16A468 for ; Wed, 23 May 2007 02:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2A15813C44C for ; Wed, 23 May 2007 02:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4N2e4nn019514 for ; Wed, 23 May 2007 02:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4N2e4Il019509; Wed, 23 May 2007 02:40:04 GMT (envelope-from gnats) Resent-Date: Wed, 23 May 2007 02:40:04 GMT Resent-Message-Id: <200705230240.l4N2e4Il019509@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, Daniel Roethlisberger Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9338C16A41F for ; Wed, 23 May 2007 02:31:03 +0000 (UTC) (envelope-from daniel@roe.ch) Received: from calvin.roe.ch (calvin.roe.ch [213.144.141.26]) by mx1.freebsd.org (Postfix) with ESMTP id 4D35A13C45A for ; Wed, 23 May 2007 02:31:03 +0000 (UTC) (envelope-from daniel@roe.ch) Received: from marvin.roe ([10.23.42.11]) by calvin.roe.ch (envelope-from ) with ESMTPS (TLSv1:AES256-SHA:256) id 1HqGiM-0000JP-Vr for FreeBSD-gnats-submit@freebsd.org; Tue, 22 May 2007 00:50:54 +0200 Received: from marvin.roe (localhost [127.0.0.1]) by marvin.roe (8.13.8/8.13.6) with ESMTP id l4LMfGWD019294; Tue, 22 May 2007 00:41:16 +0200 (CEST) (envelope-from roe@localhost.roe) Received: (from roe@localhost) by marvin.roe (8.13.8/8.13.6/Submit) id l4LMfGD0019293; Tue, 22 May 2007 00:41:16 +0200 (CEST) (envelope-from roe) Message-Id: <200705212241.l4LMfGD0019293@marvin.roe> Date: Tue, 22 May 2007 00:41:16 +0200 (CEST) From: Daniel Roethlisberger To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: daniel@roe.ch Subject: ports/112880: [PATCH] x11-wm/icewm fix TaskBarShowAPMStatus SIGSEGV X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Roethlisberger List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 02:40:05 -0000 >Number: 112880 >Category: ports >Synopsis: [PATCH] x11-wm/icewm fix TaskBarShowAPMStatus SIGSEGV >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 23 02:40:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Daniel Roethlisberger >Release: FreeBSD 6.2-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD marvin.roe 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Fixes SIGSEGV in TaskBarShowAPMStatus code, as per tracker #1629022: https://sourceforge.net/tracker/?func=detail&atid=100031&aid=1629022&group_id=31 >How-To-Repeat: Set TaskBarShowAPMStatus = 1 and run IceWM. It will dump core. >Fix: --- icewm-apm-fix.diff begins here --- diff -ruN icewm.old/Makefile icewm/Makefile --- icewm.old/Makefile Thu May 3 23:10:00 2007 +++ icewm/Makefile Tue May 22 00:29:24 2007 @@ -7,7 +7,7 @@ PORTNAME= icewm PORTVERSION= 1.2.30 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm MASTER_SITES= SF diff -ruN icewm.old/files/patch-src_aapm.cc icewm/files/patch-src_aapm.cc --- icewm.old/files/patch-src_aapm.cc Thu Jan 1 01:00:00 1970 +++ icewm/files/patch-src_aapm.cc Tue May 22 00:17:56 2007 @@ -0,0 +1,11 @@ +--- src/aapm.cc.orig 2006/12/24 15:56:15 1.18.2.3 ++++ src/aapm.cc 2007/04/22 16:38:49 1.18.2.4 +@@ -632,7 +632,7 @@ + + //estimate applet's size + for (i = 0; i < batteryNum; i++) { +- if (acpiBatteries[i]->present == BAT_ABSENT) ++ if (mode == ACPI && acpiBatteries[i]->present == BAT_ABSENT) + continue; + if (taskBarShowApmTime) + strcat(buf, "0:00"); --- icewm-apm-fix.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: