ports/115897: [patch] Fix devel/acpicatools build on ia64 and amd64
Artem Naluzhny
tut at nhamon.com.ua
Tue Aug 28 13:50:02 UTC 2007
>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 <bsd.port.pre.mk>
-.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:
More information about the freebsd-ports-bugs
mailing list