Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2020 07:58:15 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555091 - in head/sysutils: nut nut-devel nut-devel/files nut/files
Message-ID:  <202011140758.0AE7wFw6021544@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Sat Nov 14 07:58:15 2020
New Revision: 555091
URL: https://svnweb.freebsd.org/changeset/ports/555091

Log:
  Properly check USB errors using sys/errno.h.

Added:
  head/sysutils/nut-devel/files/patch-drivers_main.h   (contents, props changed)
  head/sysutils/nut/files/patch-drivers_main.h   (contents, props changed)
Deleted:
  head/sysutils/nut-devel/files/patch-drivers_blazer__usb.c
  head/sysutils/nut-devel/files/patch-drivers_libshut.c
  head/sysutils/nut-devel/files/patch-drivers_libusb.c
  head/sysutils/nut-devel/files/patch-drivers_libusb.h
  head/sysutils/nut-devel/files/patch-drivers_nutdrv__qx.c
  head/sysutils/nut-devel/files/patch-drivers_riello__usb.c
  head/sysutils/nut-devel/files/patch-drivers_tripplite__usb.c
  head/sysutils/nut-devel/files/patch-drivers_usbhid-ups.c
  head/sysutils/nut/files/patch-drivers_blazer__usb.c
  head/sysutils/nut/files/patch-drivers_libshut.c
  head/sysutils/nut/files/patch-drivers_libusb.c
  head/sysutils/nut/files/patch-drivers_libusb.h
  head/sysutils/nut/files/patch-drivers_nutdrv__qx.c
  head/sysutils/nut/files/patch-drivers_riello__usb.c
  head/sysutils/nut/files/patch-drivers_tripplite__usb.c
  head/sysutils/nut/files/patch-drivers_usbhid-ups.c
Modified:
  head/sysutils/nut-devel/Makefile   (contents, props changed)
  head/sysutils/nut/Makefile   (contents, props changed)

Modified: head/sysutils/nut-devel/Makefile
==============================================================================
--- head/sysutils/nut-devel/Makefile	Sat Nov 14 07:42:50 2020	(r555090)
+++ head/sysutils/nut-devel/Makefile	Sat Nov 14 07:58:15 2020	(r555091)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nut
 PORTVERSION=	${NUT_COMMIT_DATE}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 PKGNAMESUFFIX=	-devel
 # MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/

Added: head/sysutils/nut-devel/files/patch-drivers_main.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/nut-devel/files/patch-drivers_main.h	Sat Nov 14 07:58:15 2020	(r555091)
@@ -0,0 +1,10 @@
+--- drivers/main.h.orig	2020-11-13 23:48:39.471828000 -0800
++++ drivers/main.h	2020-11-13 23:49:42.830476000 -0800
+@@ -1,6 +1,7 @@
+ #ifndef MAIN_H
+ #define MAIN_H
+ 
++#include <sys/errno.h>
+ #include "common.h"
+ #include "upsconf.h"
+ #include "dstate.h"

Modified: head/sysutils/nut/Makefile
==============================================================================
--- head/sysutils/nut/Makefile	Sat Nov 14 07:42:50 2020	(r555090)
+++ head/sysutils/nut/Makefile	Sat Nov 14 07:58:15 2020	(r555091)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nut
 PORTVERSION=	2.7.4
-PORTREVISION=	17
+PORTREVISION=	18
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.networkupstools.org/source/${PORTVERSION:R}/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}

Added: head/sysutils/nut/files/patch-drivers_main.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/nut/files/patch-drivers_main.h	Sat Nov 14 07:58:15 2020	(r555091)
@@ -0,0 +1,10 @@
+--- drivers/main.h.orig	2015-12-29 04:08:34.000000000 -0800
++++ drivers/main.h	2020-11-13 23:40:47.007315000 -0800
+@@ -1,6 +1,7 @@
+ #ifndef MAIN_H
+ #define MAIN_H
+ 
++#include <sys/param.h>
+ #include "common.h"
+ #include "upsconf.h"
+ #include "dstate.h"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011140758.0AE7wFw6021544>