From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 28 13:50:02 2007 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 07E7916A41A for ; Tue, 28 Aug 2007 13:50:02 +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 DD33713C468 for ; Tue, 28 Aug 2007 13:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7SDo1Gx057885 for ; Tue, 28 Aug 2007 13:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7SDo18x057884; Tue, 28 Aug 2007 13:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 28 Aug 2007 13:50:01 GMT Resent-Message-Id: <200708281350.l7SDo18x057884@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, Artem Naluzhny Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84F8516A468 for ; Tue, 28 Aug 2007 13:46:13 +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 6431B13C457 for ; Tue, 28 Aug 2007 13:46:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l7SDkCoA046573 for ; Tue, 28 Aug 2007 13:46:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l7SDkCWt046572; Tue, 28 Aug 2007 13:46:12 GMT (envelope-from nobody) Message-Id: <200708281346.l7SDkCWt046572@www.freebsd.org> Date: Tue, 28 Aug 2007 13:46:12 GMT From: Artem Naluzhny To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/115897: [patch] Fix devel/acpicatools build on ia64 and amd64 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: Tue, 28 Aug 2007 13:50:02 -0000 >Number: 115897 >Category: ports >Synopsis: [patch] Fix devel/acpicatools build on ia64 and amd64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Aug 28 13:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Artem Naluzhny >Release: >Organization: >Environment: >Description: >How-To-Repeat: >Fix: diff -ruN acpicatools.bak/Makefile acpicatools/Makefile --- acpicatools.bak/Makefile 2007-08-28 15:41:56.000000000 +0300 +++ acpicatools/Makefile 2007-08-28 16:05:15.000000000 +0300 @@ -7,6 +7,7 @@ PORTNAME= acpicatools PORTVERSION= 20030523.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://people.FreeBSD.org/~iwasaki/acpi/:g1 \ http://ftp.osuosl.org/pub/FreeBSD/distfiles/:g2 @@ -22,10 +23,6 @@ .include -.if ${ARCH} == "ia64" || ${ARCH} == "amd64" -BROKEN= Does not compile on ia64 or amd64 -.endif - post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \ ${WRKDIR}/Makefile* diff -ruN acpicatools.bak/files/patch-osunixxf.c acpicatools/files/patch-osunixxf.c --- acpicatools.bak/files/patch-osunixxf.c 2003-06-12 18:45:04.000000000 +0300 +++ acpicatools/files/patch-osunixxf.c 2007-08-28 16:02:04.000000000 +0300 @@ -1,5 +1,32 @@ ---- acpica-unix-20030523/osunixxf.c.orig Sat May 24 09:11:02 2003 -+++ acpica-unix-20030523/osunixxf.c Thu Jun 12 17:03:26 2003 +--- acpica-unix-20030523/osunixxf.c.orig 2003-05-24 03:11:02.000000000 +0300 ++++ acpica-unix-20030523/osunixxf.c 2007-08-28 15:57:49.000000000 +0300 +@@ -452,7 +452,7 @@ + ACPI_STATUS + AcpiOsMapMemory ( + ACPI_PHYSICAL_ADDRESS where, +- UINT32 length, ++ ACPI_SIZE length, + void **there) + { + *there = (void *) (UINT32) where; +@@ -478,7 +478,7 @@ + void + AcpiOsUnmapMemory ( + void *where, +- UINT32 length) ++ ACPI_SIZE length) + { + + return; +@@ -499,7 +499,7 @@ + + void * + AcpiOsAllocate ( +- UINT32 size) ++ ACPI_SIZE size) + { + void *Mem; + @@ -815,7 +815,7 @@ UINT32 milliseconds) { >Release-Note: >Audit-Trail: >Unformatted: