summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/plasma6-kinfocenter/Makefile1
-rw-r--r--sysutils/plasma6-kinfocenter/files/patch-kcms_usbview_usbdb.cpp11
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/plasma6-kinfocenter/Makefile b/sysutils/plasma6-kinfocenter/Makefile
index 5f0adccec280..7e092b56de17 100644
--- a/sysutils/plasma6-kinfocenter/Makefile
+++ b/sysutils/plasma6-kinfocenter/Makefile
@@ -1,5 +1,6 @@
PORTNAME= kinfocenter
DISTVERSION= ${KDE_PLASMA_VERSION}
+PORTREVISION= 1
CATEGORIES= sysutils kde kde-plasma
MAINTAINER= kde@FreeBSD.org
diff --git a/sysutils/plasma6-kinfocenter/files/patch-kcms_usbview_usbdb.cpp b/sysutils/plasma6-kinfocenter/files/patch-kcms_usbview_usbdb.cpp
new file mode 100644
index 000000000000..52e4a362892d
--- /dev/null
+++ b/sysutils/plasma6-kinfocenter/files/patch-kcms_usbview_usbdb.cpp
@@ -0,0 +1,11 @@
+--- kcms/usbview/usbdb.cpp.orig 2025-07-15 09:51:22 UTC
++++ kcms/usbview/usbdb.cpp
+@@ -16,7 +16,7 @@ USBDB::USBDB()
+ {
+ QString db = QStringLiteral("/usr/share/hwdata/usb.ids"); /* on Fedora and Arch*/
+ if (!QFile::exists(db)) {
+- db = QStringLiteral("/usr/share/misc/usb.ids"); /* on Gentoo */
++ db = QStringLiteral("/usr/share/misc/usb_vendors"); /* on FreeBSD */
+ }
+ if (db.isEmpty())
+ return;