summaryrefslogtreecommitdiff
path: root/security/keepassxc/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'security/keepassxc/files/patch-CMakeLists.txt')
-rw-r--r--security/keepassxc/files/patch-CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/keepassxc/files/patch-CMakeLists.txt b/security/keepassxc/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..2b8b5fb5c912
--- /dev/null
+++ b/security/keepassxc/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2025-07-25 11:50:52 UTC
++++ CMakeLists.txt
+@@ -575,7 +575,7 @@ if(WITH_XC_YUBIKEY)
+ include_directories(SYSTEM ${PCSC_INCLUDE_DIRS})
+
+ if(UNIX AND NOT APPLE)
+- find_library(LIBUSB_LIBRARIES NAMES usb-1.0 REQUIRED)
++ find_library(LIBUSB_LIBRARIES NAMES usb-1.0 usb REQUIRED)
+ find_path(LIBUSB_INCLUDE_DIR NAMES libusb.h PATH_SUFFIXES "libusb-1.0" "libusb" REQUIRED)
+ include_directories(SYSTEM ${LIBUSB_INCLUDE_DIR})
+ endif()