Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,7 +1,9 @@
$NetBSD: distinfo,v 1.28 2013/02/16 17:34:58 jdf Exp $
$NetBSD: distinfo,v 1.30 2015/11/10 08:52:38 mrg Exp $
SHA1 (nut-2.6.5.tar.gz) = 320debe11df91f04e32824694d0c89a020677f71
RMD160 (nut-2.6.5.tar.gz) = d6e6acd4696e3c3f8c0ecd998f8676a8625decb9
SHA512 (nut-2.6.5.tar.gz) = f1c76e6280057dc558d53451e7de2bdc7f37a0f175b1c52c27e7dcb83deeb78f6885007ad188a7a3a19e411eba87e03eb2246310bd7a5a5bb6fa3ad2bebd49d8
Size (nut-2.6.5.tar.gz) = 2038832 bytes
SHA1 (patch-aa) = 48110f378518edb43a653753eb4ef6ea28344c62
SHA1 (patch-ab) = 44988118570714ab2c3fffdd75909c2255b94fa6
SHA1 (patch-drivers_hidparser.c) = c71d84bbf3140db1f82ef155fdf5afec79cbd38d

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-drivers_hidparser.c,v 1.1 2015/11/10 08:52:38 mrg Exp $
work around horrible big-endian code that assumes "long" is 32 bits.
enables usb-nut-ups to work on sparc64.
--- drivers/hidparser.c.orig 2012-07-31 10:38:59.000000000 -0700
+++ drivers/hidparser.c 2015-11-10 00:30:11.000000000 -0800
@@ -163,7 +163,7 @@
#if WORDS_BIGENDIAN
{
int i;
- unsigned long valTmp = 0;
+ unsigned valTmp = 0;
for (i = 0; i < ItemSize[pParser->Item & SIZE_MASK]; i++) {
memcpy(&valTmp, &pParser->ReportDesc[(pParser->Pos)+i], 1);