pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/acpica-utils



Module Name:    pkgsrc
Committed By:   maya
Date:           Mon Sep 17 13:11:59 UTC 2018

Modified Files:
        pkgsrc/sysutils/acpica-utils: distinfo
Added Files:
        pkgsrc/sysutils/acpica-utils/patches:
            patch-source_include_platform_acnetbsd.h

Log Message:
acpica-utils: build fix for netbsd<7

from Edgar Fuß in PR pkg/52654


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/sysutils/acpica-utils/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/acpica-utils/patches/patch-source_include_platform_acnetbsd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/acpica-utils/distinfo
diff -u pkgsrc/sysutils/acpica-utils/distinfo:1.12 pkgsrc/sysutils/acpica-utils/distinfo:1.13
--- pkgsrc/sysutils/acpica-utils/distinfo:1.12  Wed Nov  2 12:21:19 2016
+++ pkgsrc/sysutils/acpica-utils/distinfo       Mon Sep 17 13:11:59 2018
@@ -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 @@ RMD160 (acpitests-unix-20160930.tar.gz) 
 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

Added files:

Index: pkgsrc/sysutils/acpica-utils/patches/patch-source_include_platform_acnetbsd.h
diff -u /dev/null pkgsrc/sysutils/acpica-utils/patches/patch-source_include_platform_acnetbsd.h:1.1
--- /dev/null   Mon Sep 17 13:11:59 2018
+++ pkgsrc/sysutils/acpica-utils/patches/patch-source_include_platform_acnetbsd.h       Mon Sep 17 13:11:59 2018
@@ -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