From 3a6d612e196a50432822d5d07f9a063f3068a2b5 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Thu, 2 Jul 2015 11:16:35 -0400 Subject: [PATCH] sys-power: Get rid of unfinished ACPICA port. This lives in the Haiku tree, as it's part of our ACPI driver. --- sys-power/iasl/patches/acpica-haiku.diff | 31 ------------------------ 1 file changed, 31 deletions(-) delete mode 100644 sys-power/iasl/patches/acpica-haiku.diff diff --git a/sys-power/iasl/patches/acpica-haiku.diff b/sys-power/iasl/patches/acpica-haiku.diff deleted file mode 100644 index a1d4dd99f..000000000 --- a/sys-power/iasl/patches/acpica-haiku.diff +++ /dev/null @@ -1,31 +0,0 @@ -Index: compiler/Makefile -=================================================================== ---- compiler/Makefile (revision 41258) -+++ compiler/Makefile (working copy) -@@ -12,7 +12,7 @@ - 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 -O2 -Wstrict-prototypes -DACPI_ASL_COMPILER -I../include -I../compiler - - # - # Bison/Flex configuration -@@ -25,9 +25,16 @@ - - - COMPILE = $(CC) -c $(CFLAGS) -o$@ $? -+ -+OS ?= Linux -+ifeq ($(OS),Linux) -+CFLAGS += -D_LINUX - LDFLAGS += -lpthread -lrt -+endif -+ifeq ($(OS),Haiku) -+CFLAGS += -D_LINUX -+endif - -- - OBJS = \ - adfile.o \ - adisasm.o \