[69570] trunk/dports/devel/acpica

ryandesign at macports.org ryandesign at macports.org
Sat Jul 10 01:54:46 PDT 2010


Revision: 69570
          http://trac.macports.org/changeset/69570
Author:   ryandesign at macports.org
Date:     2010-07-10 01:54:45 -0700 (Sat, 10 Jul 2010)
Log Message:
-----------
acpica: maintainer update to 20100702; see #25565

Modified Paths:
--------------
    trunk/dports/devel/acpica/Portfile

Added Paths:
-----------
    trunk/dports/devel/acpica/files/acpica-unix-20100702-Makefile.diff

Removed Paths:
-------------
    trunk/dports/devel/acpica/files/acpica-unix-20100428-sema.diff

Modified: trunk/dports/devel/acpica/Portfile
===================================================================
--- trunk/dports/devel/acpica/Portfile	2010-07-10 08:42:41 UTC (rev 69569)
+++ trunk/dports/devel/acpica/Portfile	2010-07-10 08:54:45 UTC (rev 69570)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                acpica
-version             20100428
+version             20100702
 categories          devel
 platforms           darwin
 maintainers         coresystems.de:stepan
@@ -17,16 +17,17 @@
 
 distname            acpica-unix-${version}
 
-checksums           md5     437ec7297966a507dbbf05ce0fd61cbc \
-                    sha1    5ff8ec6b672ff71ae27e5ae700684c643d4dbdd6 \
-                    rmd160  59a8eaea119510cfa7dc0b8de40fbc9e848a015c
+checksums           md5     52fb0826e191f26eaec9e24efa025797 \
+                    sha1    fbb2001872b188871a114b494a66da05302d149e \
+                    rmd160  8a608ace98e2a6e2b550f48018391db4bce983ff 
 
 depends_build       port:bison
 
-patchfiles          acpica-unix-${version}-sema.diff
+patchfiles          acpica-unix-${version}-Makefile.diff
 
 post-patch {
-    reinplace "s,-lrt,,g" ${worksrcpath}/tools/acpiexec/Makefile
+    reinplace "s,-lrt,,g" ${worksrcpath}/tools/acpiexec/Makefile \
+                          ${worksrcpath}/compiler/Makefile
 }
 
 use_configure       no

Deleted: trunk/dports/devel/acpica/files/acpica-unix-20100428-sema.diff
===================================================================
--- trunk/dports/devel/acpica/files/acpica-unix-20100428-sema.diff	2010-07-10 08:42:41 UTC (rev 69569)
+++ trunk/dports/devel/acpica/files/acpica-unix-20100428-sema.diff	2010-07-10 08:54:45 UTC (rev 69570)
@@ -1,29 +0,0 @@
-Mac OS X does not implement unnamed semaphores.  So use a named one instead.
-
---- osunixxf.c	2010-05-14 17:18:57.000000000 +0200
-+++ osunixxf.c	2010-05-14 18:15:57.000000000 +0200
-@@ -126,6 +126,7 @@
- #include <sys/time.h>
- #include <semaphore.h>
- #include <pthread.h>
-+#include <errno.h>
- 
- #include "acpi.h"
- #include "accommon.h"
-@@ -537,8 +538,14 @@
- 
-     if (sem_init (Sem, 0, InitialUnits) == -1)
-     {
--        AcpiOsFree (Sem);
--        return (AE_BAD_PARAMETER);
-+        if (errno == ENOSYS) {
-+            AcpiOsFree (Sem);
-+	     Sem = sem_open(tmpnam(NULL), O_EXCL|O_CREAT, 0755, InitialUnits);
-+ 	 } else {
-+            perror ("AcpiOsCreateSemaphore");
-+            AcpiOsFree (Sem);
-+            return (AE_BAD_PARAMETER);
-+	 }
-     }
- 
-     *OutHandle = (ACPI_HANDLE) Sem;

Added: trunk/dports/devel/acpica/files/acpica-unix-20100702-Makefile.diff
===================================================================
--- trunk/dports/devel/acpica/files/acpica-unix-20100702-Makefile.diff	                        (rev 0)
+++ trunk/dports/devel/acpica/files/acpica-unix-20100702-Makefile.diff	2010-07-10 08:54:45 UTC (rev 69570)
@@ -0,0 +1,29 @@
+diff --git a/compiler/Makefile b/compiler/Makefile
+index 962ab67..c8c477b 100644
+--- compiler/Makefile
++++ compiler/Makefile
+@@ -7,7 +7,7 @@ PROG=	iasl
+ ACPICA_SRC =    ..
+ ASL_COMPILER =  $(ACPICA_SRC)/compiler
+ ACPICA_COMMON = $(ACPICA_SRC)/common
+-ACPICA_CORE =   $(ACPICA_SRC)/components
++ACPICA_CORE =   $(ACPICA_SRC)
+ ACPICA_TOOLS =  $(ACPICA_SRC)/tools
+ ACPICA_OSL =    $(ACPICA_SRC)/os_specific/service_layers
+ 
+diff --git a/tools/acpiexec/Makefile b/tools/acpiexec/Makefile
+index b9e892a..31f2338 100644
+--- tools/acpiexec/Makefile
++++ tools/acpiexec/Makefile
+@@ -4,9 +4,9 @@
+ 
+ PROG = acpiexec
+ 
+-ACPICA_SRC =    ../../../source
++ACPICA_SRC =    ../..
+ ACPICA_COMMON = $(ACPICA_SRC)/common
+-ACPICA_CORE =   $(ACPICA_SRC)/components
++ACPICA_CORE =   $(ACPICA_SRC)
+ ACPICA_TOOLS =  $(ACPICA_SRC)/tools
+ ACPICA_OSL =    $(ACPICA_SRC)/os_specific/service_layers
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100710/84972ffa/attachment.html>


More information about the macports-changes mailing list