openbsd-ports/devel/acpica/patches/patch-include_platform_aclinux_h
sthen 74ad9f1738 update to 20110316 which is able to disassemble aml from the
acer 5820tg without segfaulting.

"I don't remember what possessed me to claim maintainer of this
in the first place.  feel free to remove me :)" phessler@
2011-04-05 08:02:25 +00:00

15 lines
398 B
Plaintext

$OpenBSD: patch-include_platform_aclinux_h,v 1.1 2011/04/05 08:02:25 sthen Exp $
--- include/platform/aclinux.h.orig Wed Mar 16 16:28:21 2011
+++ include/platform/aclinux.h Mon Apr 4 23:43:49 2011
@@ -122,6 +122,10 @@
#define ACPI_USE_DO_WHILE_0
#define ACPI_MUTEX_TYPE ACPI_BINARY_SEMAPHORE
+#ifdef __OpenBSD__
+#define ACPI_USE_ALTERNATE_TIMEOUT
+#endif
+
#ifdef __KERNEL__