pkgsrc-Bugs archive

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

pkg/52654: sysutils/acpica-utils fix for NetBSD<7



>Number:         52654
>Category:       pkg
>Synopsis:       sysutils/acpica-utils fix for NetBSD<7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 25 17:50:00 +0000 2017
>Originator:     Edgar FuÃ?
>Release:        pkgsrc-2017Q3
>Organization:
	Mathematisches Institut der Universität Bonn
>Environment:
	
	
>Description:
	NetBSD versions prior to 7 lack sem_timedwait() in librt
>How-To-Repeat:
	cd sysutils/acpica-utils && make build
>Fix:
	Set ACPI_USE_ALTERNATE_TIMEOUT for __NetBSD_Version__ < 700000000:

	Index: distinfo
	===================================================================
	RCS file: /cvsroot/pkgsrc/sysutils/acpica-utils/distinfo,v
	retrieving revision 1.12
	diff -u -r1.12 distinfo
	--- distinfo	2 Nov 2016 12:21:19 -0000	1.12
	+++ distinfo	25 Oct 2017 17:43:10 -0000
	@@ -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
	Index: patches/patch-source_include_platform_acnetbsd.h
	===================================================================
	RCS file: patches/patch-source_include_platform_acnetbsd.h
	diff -N patches/patch-source_include_platform_acnetbsd.h
	--- /dev/null	1 Jan 1970 00:00:00 -0000
	+++ patches/patch-source_include_platform_acnetbsd.h	25 Oct 2017 17:43:10 -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__ */

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index