From owner-svn-ports-head@freebsd.org Sat Nov 14 07:58:16 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C3F9D2E1BF9; Sat, 14 Nov 2020 07:58:16 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CY74S59svz4cts; Sat, 14 Nov 2020 07:58:16 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A4D3526C8F; Sat, 14 Nov 2020 07:58:16 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AE7wGTm021548; Sat, 14 Nov 2020 07:58:16 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0AE7wFw6021544; Sat, 14 Nov 2020 07:58:15 GMT (envelope-from cy@FreeBSD.org) Message-Id: <202011140758.0AE7wFw6021544@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Sat, 14 Nov 2020 07:58:15 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: cy X-SVN-Commit-Paths: in head/sysutils: nut nut-devel nut-devel/files nut/files X-SVN-Commit-Revision: 555091 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2020 07:58:16 -0000 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 + #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 + #include "common.h" + #include "upsconf.h" + #include "dstate.h"