pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/ups-nut Fix missing include for timespec type.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00e4781a7060
branches:  trunk
changeset: 378130:00e4781a7060
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Apr 01 20:29:28 2018 +0000

description:
Fix missing include for timespec type.

diffstat:

 sysutils/ups-nut/distinfo                          |   3 ++-
 sysutils/ups-nut/patches/patch-clients_upsclient.c |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r a7c45ef2f0f6 -r 00e4781a7060 sysutils/ups-nut/distinfo
--- a/sysutils/ups-nut/distinfo Sun Apr 01 20:28:21 2018 +0000
+++ b/sysutils/ups-nut/distinfo Sun Apr 01 20:29:28 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.31 2018/03/28 06:23:34 mrg Exp $
+$NetBSD: distinfo,v 1.32 2018/04/01 20:29:28 joerg Exp $
 
 SHA1 (nut-2.6.5.tar.gz) = 320debe11df91f04e32824694d0c89a020677f71
 RMD160 (nut-2.6.5.tar.gz) = d6e6acd4696e3c3f8c0ecd998f8676a8625decb9
@@ -6,5 +6,6 @@
 Size (nut-2.6.5.tar.gz) = 2038832 bytes
 SHA1 (patch-aa) = 48110f378518edb43a653753eb4ef6ea28344c62
 SHA1 (patch-ab) = 44988118570714ab2c3fffdd75909c2255b94fa6
+SHA1 (patch-clients_upsclient.c) = dbd2cacf598ff3dc2d3d673dae8563348fc84c8b
 SHA1 (patch-drivers_hidparser.c) = c71d84bbf3140db1f82ef155fdf5afec79cbd38d
 SHA1 (patch-drivers_libusb.c) = 4e75bc13123a37aa2a2b5497d51605f88b0c5464
diff -r a7c45ef2f0f6 -r 00e4781a7060 sysutils/ups-nut/patches/patch-clients_upsclient.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ups-nut/patches/patch-clients_upsclient.c        Sun Apr 01 20:29:28 2018 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-clients_upsclient.c,v 1.1 2018/04/01 20:29:28 joerg Exp $
+
+--- clients/upsclient.c.orig   2018-04-01 17:13:02.200981408 +0000
++++ clients/upsclient.c
+@@ -28,6 +28,7 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/socket.h>
++#include <sys/time.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <fcntl.h>



Home | Main Index | Thread Index | Old Index