update to acpica 20111123; adds support for ACPI 5.0
This commit is contained in:
parent
446dbe3284
commit
adc0f3dcb5
@ -1,15 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2011/04/05 08:02:25 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2012/01/11 02:35:14 sthen Exp $
|
||||
|
||||
ONLY_FOR_ARCHS = amd64 i386
|
||||
|
||||
COMMENT = reference implementation of ACPI tools
|
||||
V = 20110316
|
||||
DISTNAME = acpica-unix-${V}
|
||||
PKGNAME = acpica-${V}
|
||||
V = 20111123
|
||||
DISTNAME = acpica-unix-$V
|
||||
PKGNAME = acpica-$V
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = http://www.acpica.org
|
||||
MASTER_SITES = ${HOMEPAGE}/download/
|
||||
HOMEPAGE = http://www.acpica.org/
|
||||
MASTER_SITES = ${HOMEPAGE}download/
|
||||
|
||||
WANTLIB = c pthread
|
||||
|
||||
@ -21,7 +21,7 @@ PERMIT_DISTFILES_CDROM =export restrictions
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
USE_GMAKE = Yes
|
||||
NO_REGRESS = Yes
|
||||
NO_REGRESS = Yes
|
||||
BUILD_DEPENDS = devel/flex devel/bison
|
||||
|
||||
do-build:
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (acpica-unix-20110316.tar.gz) = eFgTsOStODg/t7+xXnoubg==
|
||||
RMD160 (acpica-unix-20110316.tar.gz) = 1xFpi8F0ivLDyqRq/iz6yda++WA=
|
||||
SHA1 (acpica-unix-20110316.tar.gz) = Si+Kdt/bMJgiNSbd0jkRFHS8RZA=
|
||||
SHA256 (acpica-unix-20110316.tar.gz) = 4me5WxDSQNVaavGu2rRXux69Q8hy45nqD7xdihwI9Qk=
|
||||
SIZE (acpica-unix-20110316.tar.gz) = 1120191
|
||||
MD5 (acpica-unix-20111123.tar.gz) = QzRw3b346rXpwi6PDog2/w==
|
||||
RMD160 (acpica-unix-20111123.tar.gz) = 5mR5mbLXkKEdz7RDSGnk4ZmnhF0=
|
||||
SHA1 (acpica-unix-20111123.tar.gz) = Xb35pob8r1WMJzv58UNE6anePA0=
|
||||
SHA256 (acpica-unix-20111123.tar.gz) = faPh7TBma09xTUemKlTjpMaNuxZW+mMipMMAxKcciTw=
|
||||
SIZE (acpica-unix-20111123.tar.gz) = 1215254
|
||||
|
@ -1,21 +1,35 @@
|
||||
$OpenBSD: patch-compiler_Makefile,v 1.2 2011/04/05 08:02:25 sthen Exp $
|
||||
--- compiler/Makefile.orig Wed Mar 16 16:28:15 2011
|
||||
+++ compiler/Makefile Mon Apr 4 23:34:05 2011
|
||||
@@ -12,7 +12,7 @@ ACPICA_TOOLS = $(ACPICA_SRC)/tools
|
||||
ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
|
||||
|
||||
NOMAN= YES
|
||||
-CFLAGS+= -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../include -I../compiler
|
||||
+CFLAGS+= -Wall -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../include -I../compiler
|
||||
$OpenBSD: patch-compiler_Makefile,v 1.3 2012/01/11 02:35:14 sthen Exp $
|
||||
--- compiler/Makefile.orig Wed Nov 23 16:22:28 2011
|
||||
+++ compiler/Makefile Wed Jan 11 00:27:22 2012
|
||||
@@ -246,16 +246,10 @@ CWARNINGFLAGS += \
|
||||
-Waddress \
|
||||
-Waggregate-return \
|
||||
-Wchar-subscripts \
|
||||
- -Wempty-body \
|
||||
- -Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-field-initializers \
|
||||
- -Wmissing-parameter-type \
|
||||
-Wnested-externs \
|
||||
- -Wold-style-declaration \
|
||||
- -Wold-style-definition \
|
||||
- -Wredundant-decls \
|
||||
- -Wtype-limits
|
||||
+ -Wold-style-definition
|
||||
|
||||
#
|
||||
# Bison/Flex configuration
|
||||
@@ -25,7 +25,7 @@ LFLAGS+= -i -s -PAslCompiler
|
||||
@@ -291,11 +285,11 @@ dtparserparse.c dtparserparse.h : $(ASL_COMPILER)/dtpa
|
||||
|
||||
dtparser.y.h: dtparserparse.h
|
||||
@echo Copy intermediate file:
|
||||
- @cp -f -v dtparserparse.h dtparser.y.h
|
||||
+ @cp -f dtparserparse.h dtparser.y.h
|
||||
|
||||
aslcompiler.y.h : aslcompilerparse.h
|
||||
@echo Copy intermediate file:
|
||||
- @cp -f -v aslcompilerparse.h aslcompiler.y.h
|
||||
+ @cp -f aslcompilerparse.h aslcompiler.y.h
|
||||
|
||||
|
||||
COMPILE = $(CC) -c $(CFLAGS) -o$@ $?
|
||||
-LDFLAGS += -lpthread -lrt
|
||||
+LDFLAGS += -pthread
|
||||
|
||||
|
||||
OBJS = \
|
||||
#
|
||||
|
21
devel/acpica/patches/patch-generate_unix_Makefile_config
Normal file
21
devel/acpica/patches/patch-generate_unix_Makefile_config
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-generate_unix_Makefile_config,v 1.1 2012/01/11 02:35:14 sthen Exp $
|
||||
--- generate/unix/Makefile.config.orig Wed Nov 23 16:22:31 2011
|
||||
+++ generate/unix/Makefile.config Wed Jan 11 00:27:25 2012
|
||||
@@ -118,16 +118,10 @@ CWARNINGFLAGS += \
|
||||
-Waddress \
|
||||
-Waggregate-return \
|
||||
-Wchar-subscripts \
|
||||
- -Wempty-body \
|
||||
- -Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-field-initializers \
|
||||
- -Wmissing-parameter-type \
|
||||
-Wnested-externs \
|
||||
- -Wold-style-declaration \
|
||||
- -Wold-style-definition \
|
||||
- -Wredundant-decls \
|
||||
- -Wtype-limits
|
||||
+ -Wold-style-definition
|
||||
|
||||
#
|
||||
# Extra warning flags (possible future use)
|
12
devel/acpica/patches/patch-generate_unix_acpiexec_Makefile
Normal file
12
devel/acpica/patches/patch-generate_unix_acpiexec_Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-generate_unix_acpiexec_Makefile,v 1.1 2012/01/11 02:35:14 sthen Exp $
|
||||
--- generate/unix/acpiexec/Makefile.orig Wed Jan 11 00:31:39 2012
|
||||
+++ generate/unix/acpiexec/Makefile Wed Jan 11 00:31:56 2012
|
||||
@@ -200,7 +200,7 @@ OBJECTS = \
|
||||
CFLAGS+= \
|
||||
-DACPI_EXEC_APP \
|
||||
-I$(ACPIEXEC)
|
||||
-LDFLAGS += -lpthread -lrt
|
||||
+LDFLAGS += -pthread
|
||||
|
||||
#
|
||||
# Rules
|
17
devel/acpica/patches/patch-generate_unix_iasl_Makefile
Normal file
17
devel/acpica/patches/patch-generate_unix_iasl_Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-generate_unix_iasl_Makefile,v 1.1 2012/01/11 02:35:14 sthen Exp $
|
||||
--- generate/unix/iasl/Makefile.orig Wed Jan 11 00:18:19 2012
|
||||
+++ generate/unix/iasl/Makefile Wed Jan 11 00:18:33 2012
|
||||
@@ -220,11 +220,11 @@ $(OBJDIR)/dtparserparse.c $(OBJDIR)/dtparserparse.h :
|
||||
|
||||
$(OBJDIR)/dtparser.y.h: $(OBJDIR)/dtparserparse.h
|
||||
@echo Copy intermediate file:
|
||||
- @cp -f -v $(OBJDIR)/dtparserparse.h $(OBJDIR)/dtparser.y.h
|
||||
+ @cp -f $(OBJDIR)/dtparserparse.h $(OBJDIR)/dtparser.y.h
|
||||
|
||||
$(OBJDIR)/aslcompiler.y.h : $(OBJDIR)/aslcompilerparse.h
|
||||
@echo Copy intermediate file:
|
||||
- @cp -f -v $(OBJDIR)/aslcompilerparse.h $(OBJDIR)/aslcompiler.y.h
|
||||
+ @cp -f $(OBJDIR)/aslcompilerparse.h $(OBJDIR)/aslcompiler.y.h
|
||||
|
||||
|
||||
#
|
21
devel/acpica/patches/patch-tools_acpibin_Makefile
Normal file
21
devel/acpica/patches/patch-tools_acpibin_Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-tools_acpibin_Makefile,v 1.1 2012/01/11 02:35:14 sthen Exp $
|
||||
--- tools/acpibin/Makefile.orig Wed Nov 23 16:22:35 2011
|
||||
+++ tools/acpibin/Makefile Wed Jan 11 00:27:27 2012
|
||||
@@ -94,16 +94,10 @@ CWARNINGFLAGS += \
|
||||
-Waddress \
|
||||
-Waggregate-return \
|
||||
-Wchar-subscripts \
|
||||
- -Wempty-body \
|
||||
- -Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-field-initializers \
|
||||
- -Wmissing-parameter-type \
|
||||
-Wnested-externs \
|
||||
- -Wold-style-declaration \
|
||||
- -Wold-style-definition \
|
||||
- -Wredundant-decls \
|
||||
- -Wtype-limits
|
||||
+ -Wold-style-definition
|
||||
|
||||
#
|
||||
# Rules
|
@ -1,24 +1,30 @@
|
||||
$OpenBSD: patch-tools_acpiexec_Makefile,v 1.1 2011/04/05 08:02:25 sthen Exp $
|
||||
|
||||
quality workmanship!
|
||||
|
||||
--- tools/acpiexec/Makefile.orig Wed Mar 16 16:28:24 2011
|
||||
+++ tools/acpiexec/Makefile Mon Apr 4 23:48:53 2011
|
||||
@@ -14,7 +14,7 @@ NOMAN= YES
|
||||
CFLAGS+= -Wall -g -D_LINUX -DNDEBUG -D_CONSOLE -DACPI_EXEC_APP -Wstrict-prototypes -I$(ACPICA_SRC)/include
|
||||
$OpenBSD: patch-tools_acpiexec_Makefile,v 1.2 2012/01/11 02:35:14 sthen Exp $
|
||||
--- tools/acpiexec/Makefile.orig Wed Nov 23 16:22:35 2011
|
||||
+++ tools/acpiexec/Makefile Wed Jan 11 00:32:00 2012
|
||||
@@ -22,7 +22,7 @@ PROG = acpiexec
|
||||
HOST = _LINUX
|
||||
NOMAN = YES
|
||||
COMPILE = $(CC) -c $(CFLAGS) $(CWARNINGFLAGS) -o$@ $<
|
||||
-LDFLAGS += -lpthread -lrt
|
||||
+LDFLAGS += -pthread
|
||||
|
||||
COMPILE = $(CC) -c $(CFLAGS) -o$@ $?
|
||||
-LDFLAGS += -lpthread -lrt
|
||||
+LDFLAGS += -pthread
|
||||
ACPICA_COMPONENTS =
|
||||
ACPICA_SRC = ../..
|
||||
@@ -257,16 +257,10 @@ CWARNINGFLAGS += \
|
||||
-Waddress \
|
||||
-Waggregate-return \
|
||||
-Wchar-subscripts \
|
||||
- -Wempty-body \
|
||||
- -Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-field-initializers \
|
||||
- -Wmissing-parameter-type \
|
||||
-Wnested-externs \
|
||||
- -Wold-style-declaration \
|
||||
- -Wold-style-definition \
|
||||
- -Wredundant-decls \
|
||||
- -Wtype-limits
|
||||
+ -Wold-style-definition
|
||||
|
||||
OBJS = \
|
||||
aeexec.o \
|
||||
@@ -588,7 +588,7 @@ utcopy.o : $(ACPICA_CORE)/utilities/utcopy.c
|
||||
utdebug.o : $(ACPICA_CORE)/utilities/utdebug.c
|
||||
$(COMPILE)
|
||||
|
||||
-utdebug.o : $(ACPICA_CORE)/utilities/utdebug.c
|
||||
+utdecode.o : $(ACPICA_CORE)/utilities/utdecode.c
|
||||
$(COMPILE)
|
||||
|
||||
utdelete.o : $(ACPICA_CORE)/utilities/utdelete.c
|
||||
#
|
||||
# Rules
|
||||
|
21
devel/acpica/patches/patch-tools_acpihelp_Makefile
Normal file
21
devel/acpica/patches/patch-tools_acpihelp_Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-tools_acpihelp_Makefile,v 1.1 2012/01/11 02:35:14 sthen Exp $
|
||||
--- tools/acpihelp/Makefile.orig Wed Nov 23 16:22:35 2011
|
||||
+++ tools/acpihelp/Makefile Wed Jan 11 00:27:32 2012
|
||||
@@ -85,16 +85,10 @@ CWARNINGFLAGS += \
|
||||
-Waddress \
|
||||
-Waggregate-return \
|
||||
-Wchar-subscripts \
|
||||
- -Wempty-body \
|
||||
- -Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-field-initializers \
|
||||
- -Wmissing-parameter-type \
|
||||
-Wnested-externs \
|
||||
- -Wold-style-declaration \
|
||||
- -Wold-style-definition \
|
||||
- -Wredundant-decls \
|
||||
- -Wtype-limits
|
||||
+ -Wold-style-definition
|
||||
|
||||
#
|
||||
# Rules
|
@ -1,12 +1,21 @@
|
||||
$OpenBSD: patch-tools_acpinames_Makefile,v 1.1 2011/04/05 08:02:25 sthen Exp $
|
||||
--- tools/acpinames/Makefile.orig Wed Mar 16 16:28:25 2011
|
||||
+++ tools/acpinames/Makefile Mon Apr 4 23:48:53 2011
|
||||
@@ -13,7 +13,7 @@ NOMAN= YES
|
||||
CFLAGS+= -Wall -g -D_LINUX -DNDEBUG -D_CONSOLE -DACPI_APPLICATION -DACPI_SINGLE_THREADED -DACPI_DEBUGGER -Wstrict-prototypes -I$(ACPICA_SRC)/include -I$(ACPICA_TOOLS)/acpinames
|
||||
$OpenBSD: patch-tools_acpinames_Makefile,v 1.2 2012/01/11 02:35:14 sthen Exp $
|
||||
--- tools/acpinames/Makefile.orig Wed Nov 23 16:22:35 2011
|
||||
+++ tools/acpinames/Makefile Wed Jan 11 00:27:36 2012
|
||||
@@ -157,16 +157,10 @@ CWARNINGFLAGS += \
|
||||
-Waddress \
|
||||
-Waggregate-return \
|
||||
-Wchar-subscripts \
|
||||
- -Wempty-body \
|
||||
- -Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-field-initializers \
|
||||
- -Wmissing-parameter-type \
|
||||
-Wnested-externs \
|
||||
- -Wold-style-declaration \
|
||||
- -Wold-style-definition \
|
||||
- -Wredundant-decls \
|
||||
- -Wtype-limits
|
||||
+ -Wold-style-definition
|
||||
|
||||
COMPILE = $(CC) -c $(CFLAGS) -o$@ $?
|
||||
-LDFLAGS += -lpthread -lrt
|
||||
+LDFLAGS += -pthread
|
||||
|
||||
OBJS = \
|
||||
anmain.o \
|
||||
#
|
||||
# Rules
|
||||
|
@ -1,12 +1,21 @@
|
||||
$OpenBSD: patch-tools_acpisrc_Makefile,v 1.1 2011/04/05 08:02:25 sthen Exp $
|
||||
--- tools/acpisrc/Makefile.orig Wed Mar 16 16:28:25 2011
|
||||
+++ tools/acpisrc/Makefile Mon Apr 4 23:34:55 2011
|
||||
@@ -4,7 +4,7 @@ PROG= acpisrc
|
||||
SRCS= ascase.c asconvrt.c asfile.c asmain.c asremove.c astable.c \
|
||||
asutils.c osunixdir.c ../../common/getopt.c
|
||||
$OpenBSD: patch-tools_acpisrc_Makefile,v 1.2 2012/01/11 02:35:14 sthen Exp $
|
||||
--- tools/acpisrc/Makefile.orig Wed Nov 23 16:22:36 2011
|
||||
+++ tools/acpisrc/Makefile Wed Jan 11 00:27:39 2012
|
||||
@@ -87,16 +87,10 @@ CWARNINGFLAGS += \
|
||||
-Waddress \
|
||||
-Waggregate-return \
|
||||
-Wchar-subscripts \
|
||||
- -Wempty-body \
|
||||
- -Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-field-initializers \
|
||||
- -Wmissing-parameter-type \
|
||||
-Wnested-externs \
|
||||
- -Wold-style-declaration \
|
||||
- -Wold-style-definition \
|
||||
- -Wredundant-decls \
|
||||
- -Wtype-limits
|
||||
+ -Wold-style-definition
|
||||
|
||||
-CFLAGS+= -Wall -O2 -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../include
|
||||
+CFLAGS+= -Wall -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../include
|
||||
|
||||
|
||||
aslmain : $(patsubst %.c,%.o, $(SRCS))
|
||||
#
|
||||
# Rules
|
||||
|
@ -1,12 +1,21 @@
|
||||
$OpenBSD: patch-tools_acpixtract_Makefile,v 1.1 2011/04/05 08:02:25 sthen Exp $
|
||||
--- tools/acpixtract/Makefile.orig Mon Apr 4 23:33:59 2011
|
||||
+++ tools/acpixtract/Makefile Mon Apr 4 23:34:23 2011
|
||||
@@ -3,7 +3,7 @@
|
||||
PROG= acpixtract
|
||||
SRCS= acpixtract.c
|
||||
$OpenBSD: patch-tools_acpixtract_Makefile,v 1.2 2012/01/11 02:35:14 sthen Exp $
|
||||
--- tools/acpixtract/Makefile.orig Wed Nov 23 16:22:36 2011
|
||||
+++ tools/acpixtract/Makefile Wed Jan 11 00:27:42 2012
|
||||
@@ -78,16 +78,10 @@ CWARNINGFLAGS += \
|
||||
-Waddress \
|
||||
-Waggregate-return \
|
||||
-Wchar-subscripts \
|
||||
- -Wempty-body \
|
||||
- -Wlogical-op \
|
||||
-Wmissing-declarations \
|
||||
-Wmissing-field-initializers \
|
||||
- -Wmissing-parameter-type \
|
||||
-Wnested-externs \
|
||||
- -Wold-style-declaration \
|
||||
- -Wold-style-definition \
|
||||
- -Wredundant-decls \
|
||||
- -Wtype-limits
|
||||
+ -Wold-style-definition
|
||||
|
||||
-CFLAGS+= -Wall -O2 -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../include
|
||||
+CFLAGS+= -Wall -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../include
|
||||
|
||||
|
||||
acpixtract : $(patsubst %.c,%.o, $(SRCS))
|
||||
#
|
||||
# Rules
|
||||
|
Loading…
x
Reference in New Issue
Block a user