diff --git a/usbip-4.18.9-compare-actual-name.patch b/usbip-4.18.9-compare-actual-name.patch index 50649bb..767fae3 100644 --- a/usbip-4.18.9-compare-actual-name.patch +++ b/usbip-4.18.9-compare-actual-name.patch @@ -6,7 +6,7 @@ diff -urb usbip-4.18.9a/libsrc/vhci_driver.c usbip-4.18.9b/libsrc/vhci_driver.c static int vhci_hcd_filter(const struct dirent *dirent) { - return strcmp(dirent->d_name, "vhci_hcd") >= 0; -+ return !strncmp(dirent->d_name, "vhci_hcd", 9); ++ return !strncmp(dirent->d_name, "vhci_hcd.", 9); } static int get_ncontrollers(void) diff --git a/usbip.spec b/usbip.spec index c348228..24a3670 100644 --- a/usbip.spec +++ b/usbip.spec @@ -4,7 +4,7 @@ Name: usbip License: GPLv2+ Summary: USB/IP user-space Version: 4.18.9 -Release: 1%{?dist} +Release: 2%{?dist} #Source: https://www.kernel.org/pub/linux/kernel/v4.x/linux-%%{version}.tar.xz # In the interests of keeping the source rpm from being ridiculously large, # download the Linux kernel from above and run `extract_usbip.sh ` @@ -92,6 +92,7 @@ install -pm 644 %{SOURCE2} %{buildroot}%{_unitdir} - Update to 4.18.9 - Add patch to fix problem importing device when another device is in /sys/devices/platform after vhci (#1631148) +- Fix missing period in patch * Sat Jul 14 2018 Fedora Release Engineering - 4.15.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild