summaryrefslogtreecommitdiff
path: root/app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch')
-rw-r--r--app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch b/app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch
new file mode 100644
index 000000000000..380b1091d225
--- /dev/null
+++ b/app-misc/OpenRGB/files/OpenRGB-0.6-pkgconf.patch
@@ -0,0 +1,11 @@
+--- a/OpenRGB.pro 2021-06-06 22:51:12.022561718 +0100
++++ b/OpenRGB.pro 2021-06-06 22:51:24.466105358 +0100
+@@ -837,7 +837,7 @@ unix:!macx {
+ # hidapi-hidraw >= 0.10.1 supports USAGE/USAGE_PAGE #
+ # Define USE_HID_USAGE if hidapi-hidraw supports it #
+ #---------------------------------------------------------------------------------------#
+- HIDAPI_HIDRAW_VERSION = $$system(pkgconf --modversion hidapi-hidraw)
++ HIDAPI_HIDRAW_VERSION = $$system(pkg-config --modversion hidapi-hidraw)
+ if(versionAtLeast(HIDAPI_HIDRAW_VERSION, "0.10.1")) {
+ DEFINES += USE_HID_USAGE
+ }