From a7d2ae454e62240f7349c94e02e45b5982e74204 Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Mon, 1 Feb 2021 12:42:53 +0000 Subject: Remove support for FreeBSD 12.1 from various ports. FreeBSD 12.1 reached end-of-life today. Adjust the message for the wine ports while here, since stable/13 has branched. Submitted by: rene Reviewed by: jbeich, mandree, mat, osa Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D28406 --- comms/usbmuxd/files/patch-src_usb.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 comms/usbmuxd/files/patch-src_usb.c (limited to 'comms/usbmuxd/files/patch-src_usb.c') diff --git a/comms/usbmuxd/files/patch-src_usb.c b/comms/usbmuxd/files/patch-src_usb.c deleted file mode 100644 index 8a6240a3de35..000000000000 --- a/comms/usbmuxd/files/patch-src_usb.c +++ /dev/null @@ -1,17 +0,0 @@ -libusb_has_capability() was implemented in r361977 and is only available on: -FreeBSD >= 1104501, 1201518, 1300098 -However, libusb in all supported versions of FreeBSD supports hotplug events. - -This patch can be safely removed after 11.4 and 12.1 EOL. - ---- src/usb.c.orig 2021-01-21 10:10:40 UTC -+++ src/usb.c -@@ -815,7 +815,7 @@ int usb_init(void) - collection_init(&device_list); - - #ifdef HAVE_LIBUSB_HOTPLUG_API -- if (libusb_has_capability(LIBUSB_CAP_HAS_HOTPLUG)) { -+ if (1) { - usbmuxd_log(LL_INFO, "Registering for libusb hotplug events"); - res = libusb_hotplug_register_callback(NULL, LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED | LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT, LIBUSB_HOTPLUG_ENUMERATE, VID_APPLE, LIBUSB_HOTPLUG_MATCH_ANY, 0, usb_hotplug_cb, NULL, &usb_hotplug_cb_handle); - if (res == LIBUSB_SUCCESS) { -- cgit v1.2.3