summaryrefslogtreecommitdiff
path: root/print/hplip/files/patch-io_hpmud_musb.c
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2021-08-25 15:29:51 +0200
committerTijl Coosemans <tijl@FreeBSD.org>2022-03-11 15:49:48 +0100
commit982e968ef61a94e0de75d733e9036e5c60afca34 (patch)
tree6beacb77eeac3d323af5c7e168890caa5c1fa2c8 /print/hplip/files/patch-io_hpmud_musb.c
parentdeskutils/virt-manager: update to 4.0.0 (diff)
print/hplip(-plugin): update to 3.22.2
- Convert post-patch to real patches because they are easier to maintain. - Fix a NULL dereference in the scanner backend when D-Bus isn't running. - Depend on sysutils/py-distro to make hp-toolbox (Device Manager) work again. - Upstream switched to Avahi for mDNS support. Rename the SNMP option to NETWORK because it's not just SNMP now. - Don't install some programs related to uninstalling and upgrading of HPLIP and the installation of firmware plugins because they circumvent the package system. - Install icons in share/icons so desktops can choose an appropriate resolution. Portions taken from a patch by Oleg Sidorkin <osidorkin@gmail.com>. PR: 255586, 257034, 257512
Diffstat (limited to 'print/hplip/files/patch-io_hpmud_musb.c')
-rw-r--r--print/hplip/files/patch-io_hpmud_musb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print/hplip/files/patch-io_hpmud_musb.c b/print/hplip/files/patch-io_hpmud_musb.c
index d20b4c2e7d65..81291ead8c1a 100644
--- a/print/hplip/files/patch-io_hpmud_musb.c
+++ b/print/hplip/files/patch-io_hpmud_musb.c
@@ -1,6 +1,6 @@
---- io/hpmud/musb.c.orig 2016-08-26 10:05:31 UTC
+--- io/hpmud/musb.c.orig 2022-02-23 07:41:04 UTC
+++ io/hpmud/musb.c
-@@ -139,10 +139,16 @@ static int get_string_descriptor(libusb_
+@@ -139,10 +139,16 @@ static int get_string_descriptor(libusb_device_handle
0x409,
tbuf, sizeof(tbuf), LIBUSB_CONTROL_REQ_TIMEOUT);
@@ -20,7 +20,7 @@
continue;
}
break;
-@@ -385,7 +391,7 @@ static int detach(libusb_device_handle *
+@@ -385,7 +391,7 @@ static int detach(libusb_device_handle *hd, int interf
{
int ret ;
/* If any kernel module has claimed this interface, detach it. */