diff --git a/nut-2.2.1-conf.patch b/nut-2.2.1-conf.patch deleted file mode 100644 index beebdf6..0000000 --- a/nut-2.2.1-conf.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: nut/conf/upssched.conf.sample.in -=================================================================== ---- nut/conf/upssched.conf.sample.in (revision 2057) -+++ nut/conf/upssched.conf.sample.in (revision 2070) -@@ -14,7 +14,7 @@ - # A shell script with a big case..esac construct should work nicely for this. - # An example has been provided to help you get started. - --CMDSCRIPT @BINDIR@/upssched-cmd -+CMDSCRIPT @bindir@/upssched-cmd - - # ============================================================================ - # diff --git a/nut-2.6.0-usbget.patch b/nut-2.6.0-usbget.patch deleted file mode 100644 index 2d9242a..0000000 --- a/nut-2.6.0-usbget.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: /trunk/drivers/libhid.c -=================================================================== ---- trunk/drivers/libhid.c (revision 2719) -+++ trunk/drivers/libhid.c (revision 2893) -@@ -142,5 +142,4 @@ - int id = pData->ReportID; - int r; -- unsigned char buf[SMALLBUF]; - - if (rbuf->ts[id] + age > time(NULL)) { -@@ -150,15 +149,12 @@ - } - -- r = comm_driver->get_report(udev, id, buf, sizeof(buf)); -+ r = comm_driver->get_report(udev, id, rbuf->data[id], rbuf->len[id]); - if (r <= 0) { - return -1; - } - -- /* broken report descriptors are common, so store whatever we can */ -- memcpy(rbuf->data[id], buf, (r < rbuf->len[id]) ? r : rbuf->len[id]); -- - if (rbuf->len[id] != r) { - upsdebugx(2, "%s: expected %d bytes, but got %d instead", __func__, rbuf->len[id], r); -- upsdebug_hex(3, "Report[err]", buf, r); -+ upsdebug_hex(3, "Report[err]", rbuf->data[id], r); - } else { - upsdebug_hex(3, "Report[get]", rbuf->data[id], rbuf->len[id]);