slackbuilds_ponce/system/scangearmp2/libusb.patch
Kenneth Chan a941ca4373
system/scangearmp2: Updated for version 4.50.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-03-09 20:47:34 +07:00

11 lines
397 B
Diff

--- scangearmp2.orig/src/canon_mfp_tools.c 2023-03-08 14:07:54.261226941 +1300
+++ scangearmp2/src/canon_mfp_tools.c 2023-03-08 14:09:44.926237600 +1300
@@ -394,7 +394,7 @@
goto onErr;
}
/* search canon mfp */
- numdev = libusb_get_device_list(NULL, &g_devlist);
+ numdev = libusb_get_device_list(g_context, &g_devlist);
if((int)numdev == 0) {
err = CN_USB_WRITE_ERROR;
goto onErr;