From owner-freebsd-ports@FreeBSD.ORG Tue Dec 12 07:46:07 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 703A216A415 for ; Tue, 12 Dec 2006 07:46:07 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 575D043CD1 for ; Tue, 12 Dec 2006 07:44:37 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1432760uge for ; Mon, 11 Dec 2006 23:45:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QQLaViuHgVVZb/t51obwCuR/V+lifyPWGuPdiQp5QFOMdxkdBu0c7/xc5D4ZJkQ9dEfwZdAbdiDNom2aT5BXIND9lJtglUiCYXg3khUV83TNUdwxtXx2NkO0/keT7wBMEn1/4fQFWsbGkF7JJpOxQUcb/4KNgj70JyXDmghlK5E= Received: by 10.67.21.11 with SMTP id y11mr11252391ugi.1165909557146; Mon, 11 Dec 2006 23:45:57 -0800 (PST) Received: by 10.67.86.15 with HTTP; Mon, 11 Dec 2006 23:45:56 -0800 (PST) Message-ID: <790a9fff0612112345k2e727817j34d2acf3881186cd@mail.gmail.com> Date: Tue, 12 Dec 2006 01:45:56 -0600 From: "Scot Hetzel" To: "Rong-En Fan" In-Reply-To: <20061212064859.GA33414@svm.csie.ntu.edu.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061212064859.GA33414@svm.csie.ntu.edu.tw> Cc: ports@freebsd.org, sumikawa@freebsd.org Subject: Re: sysutils/xbattbar for !i386 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2006 07:46:07 -0000 On 12/12/06, Rong-En Fan wrote: > Recently, I installed a FreeBSD/amd64 laptop. I found this port > uses apm (i386 only) interface to get battery information. The > patch below changes it to use sysctl(3). Thus, it is usable on > amd64. > > http://people.freebsd.org/~rafan/xbattbar.diff > > It works on my ThinkPad X60 (-CURRENT). If you are running this > port, please have a test. > Works on my HP dv8135nr (-CURRENT) system. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.