pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/acpica-utils acpica-utils: build fix for netb...
details: https://anonhg.NetBSD.org/pkgsrc/rev/29d1e5d514e0
branches: trunk
changeset: 385246:29d1e5d514e0
user: maya <maya%pkgsrc.org@localhost>
date: Mon Sep 17 13:11:59 2018 +0000
description:
acpica-utils: build fix for netbsd<7
from Edgar Fu? in PR pkg/52654
diffstat:
sysutils/acpica-utils/distinfo | 3 +-
sysutils/acpica-utils/patches/patch-source_include_platform_acnetbsd.h | 13 ++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 1cfa4b35aaf7 -r 29d1e5d514e0 sysutils/acpica-utils/distinfo
--- a/sysutils/acpica-utils/distinfo Mon Sep 17 11:15:01 2018 +0000
+++ b/sysutils/acpica-utils/distinfo Mon Sep 17 13:11:59 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2016/11/02 12:21:19 maya Exp $
+$NetBSD: distinfo,v 1.13 2018/09/17 13:11:59 maya Exp $
SHA1 (acpica-unix2-20160930.tar.gz) = 45b1d14454b8986ed56ec81c217694131becbcbf
RMD160 (acpica-unix2-20160930.tar.gz) = f58d5cbfe516340f168b8e2090c656097c7964cd
@@ -9,4 +9,5 @@
SHA512 (acpitests-unix-20160930.tar.gz) = f982826e01de7a79da543c2ca99dfc9459829a03332841dfe00f45bfc1620bdfa986a5ce4c8bbee2933325c1c526434c04e3601d727fb111f049e71e080a4c71
Size (acpitests-unix-20160930.tar.gz) = 1829886 bytes
SHA1 (patch-generate_unix_Makefile.config) = b760ec07afa96902641ff4b979b7764baa39aceb
+SHA1 (patch-source_include_platform_acnetbsd.h) = d272a3c84d337c2da44d83b37efb81f83a213a39
SHA1 (patch-source_include_platform_acsolaris.h) = ecc090345a6d259f96923376e65d28c57dceebab
diff -r 1cfa4b35aaf7 -r 29d1e5d514e0 sysutils/acpica-utils/patches/patch-source_include_platform_acnetbsd.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/acpica-utils/patches/patch-source_include_platform_acnetbsd.h Mon Sep 17 13:11:59 2018 +0000
@@ -0,0 +1,13 @@
+--- source/include/platform/acnetbsd.h.orig 2015-04-10 17:27:17.000000000 +0200
++++ source/include/platform/acnetbsd.h 2015-12-10 14:15:22.000000000 +0100
+@@ -112,4 +112,10 @@
+ #define ACPI_USE_SYSTEM_CLIBRARY
+ #define ACPI_USE_NATIVE_DIVIDE
+
++/* NetBSD versions prior to 7 lack sem_timedwait() in librt */
++#include <sys/param.h>
++#if (__NetBSD_Version__ < 700000000) /* NetBSD 7 */
++#define ACPI_USE_ALTERNATE_TIMEOUT
++#endif
++
+ #endif /* __ACNETBSD_H__ */
Home |
Main Index |
Thread Index |
Old Index