summaryrefslogtreecommitdiff
path: root/security/keepassxc/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/keepassxc/files')
-rw-r--r--security/keepassxc/files/patch-CMakeLists.txt11
-rw-r--r--security/keepassxc/files/patch-src_thirdparty_ykcore_CMakeLists.txt8
2 files changed, 15 insertions, 4 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()
diff --git a/security/keepassxc/files/patch-src_thirdparty_ykcore_CMakeLists.txt b/security/keepassxc/files/patch-src_thirdparty_ykcore_CMakeLists.txt
index af4cb68d5d09..28106f838730 100644
--- a/security/keepassxc/files/patch-src_thirdparty_ykcore_CMakeLists.txt
+++ b/security/keepassxc/files/patch-src_thirdparty_ykcore_CMakeLists.txt
@@ -1,8 +1,8 @@
---- src/thirdparty/ykcore/CMakeLists.txt.orig 2022-03-21 22:47:20 UTC
+--- src/thirdparty/ykcore/CMakeLists.txt.orig 2025-03-02 22:31:21 UTC
+++ src/thirdparty/ykcore/CMakeLists.txt
-@@ -27,7 +27,7 @@ elseif(UNIX AND NOT APPLE)
- elseif(UNIX AND NOT APPLE)
- target_sources(ykcore PRIVATE ykcore_libusb-1.0.c)
+@@ -29,7 +29,7 @@ elseif(UNIX AND NOT APPLE)
+
+ find_package(Threads REQUIRED)
- find_library(LIBUSB_LIBRARY NAMES usb-1.0)
+ find_library(LIBUSB_LIBRARY NAMES usb-1.0 usb)