From owner-freebsd-ports@FreeBSD.ORG Tue Dec 12 06:49:00 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 A292616A403; Tue, 12 Dec 2006 06:49:00 +0000 (UTC) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (svm.csie.ntu.edu.tw [140.112.90.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25BBD43CA9; Tue, 12 Dec 2006 06:47:38 +0000 (GMT) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: from svm.csie.ntu.edu.tw (localhost [127.0.0.1]) by svm.csie.ntu.edu.tw (8.13.8/8.13.8) with ESMTP id kBC6mxFr060767; Tue, 12 Dec 2006 14:48:59 +0800 (CST) (envelope-from rafan@svm.csie.ntu.edu.tw) Received: (from rafan@localhost) by svm.csie.ntu.edu.tw (8.13.8/8.13.8/Submit) id kBC6mxqu096236; Tue, 12 Dec 2006 14:48:59 +0800 (CST) (envelope-from rafan) Date: Tue, 12 Dec 2006 14:48:59 +0800 From: Rong-En Fan To: ports@FreeBSD.org Message-ID: <20061212064859.GA33414@svm.csie.ntu.edu.tw> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Cc: sumikawa@FreeBSD.org Subject: 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 06:49:00 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.=20 Thanks, Rong-En Fan --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFflDa144QkYb9jGgRAoNMAKCRykcGF55y6F8RKfH89BOE/6iMCgCfSo8d qHjI//QbqZYJKijVasyA8iw= =0u6+ -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD--