git: 550147cf95c1 - main - sysutils/acpica-tools: Update to 20220331

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Thu, 31 Mar 2022 21:38:04 UTC
The branch main has been updated by jkim:

URL: https://cgit.FreeBSD.org/ports/commit/?id=550147cf95c18952866269382d0c9e0b70f8dc8c

commit 550147cf95c18952866269382d0c9e0b70f8dc8c
Author:     Jung-uk Kim <jkim@FreeBSD.org>
AuthorDate: 2022-03-31 21:34:48 +0000
Commit:     Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2022-03-31 21:36:46 +0000

    sysutils/acpica-tools: Update to 20220331
    
    https://acpica.org/node/199
---
 sysutils/acpica-tools/Makefile                                 |  2 +-
 sysutils/acpica-tools/distinfo                                 |  6 +++---
 .../files/patch-source_include_platform_acfreebsd.h            | 10 ++++++++++
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/sysutils/acpica-tools/Makefile b/sysutils/acpica-tools/Makefile
index 76c38c138274..970794f7a2c8 100644
--- a/sysutils/acpica-tools/Makefile
+++ b/sysutils/acpica-tools/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	acpica
-PORTVERSION=	20210930
+PORTVERSION=	20220331
 CATEGORIES=	sysutils devel
 MASTER_SITES=	https://acpica.org/sites/acpica/files/ \
 		LOCAL/jkim
diff --git a/sysutils/acpica-tools/distinfo b/sysutils/acpica-tools/distinfo
index 4a0f8b79469a..4e317a44f2f0 100644
--- a/sysutils/acpica-tools/distinfo
+++ b/sysutils/acpica-tools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1633024977
-SHA256 (acpica-unix-20210930.tar.gz) = 3cd82a281a16bc70c2708665668f138c4fc606c31161d46ce77230454ec04821
-SIZE (acpica-unix-20210930.tar.gz) = 1898035
+TIMESTAMP = 1648758845
+SHA256 (acpica-unix-20220331.tar.gz) = acaff68b14f1e0804ebbfc4b97268a4ccbefcfa053b02ed9924f2b14d8a98e21
+SIZE (acpica-unix-20220331.tar.gz) = 1911044
diff --git a/sysutils/acpica-tools/files/patch-source_include_platform_acfreebsd.h b/sysutils/acpica-tools/files/patch-source_include_platform_acfreebsd.h
new file mode 100644
index 000000000000..b897a7b3b51b
--- /dev/null
+++ b/sysutils/acpica-tools/files/patch-source_include_platform_acfreebsd.h
@@ -0,0 +1,10 @@
+--- source/include/platform/acfreebsd.h.orig	2022-03-31 16:38:39 UTC
++++ source/include/platform/acfreebsd.h
+@@ -211,6 +211,7 @@
+ 
+ #if __STDC_HOSTED__
+ #include <ctype.h>
++#include <unistd.h>
+ #endif
+ 
+ #define ACPI_CAST_PTHREAD_T(pthread)    ((ACPI_THREAD_ID) ACPI_TO_INTEGER (pthread))