git: 9c90de5bd97e - 2025Q3 - archivers/urbackup-client: Fix build on 15+

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 19 Sep 2025 21:07:30 UTC
The branch 2025Q3 has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9c90de5bd97e7f38fab272d9c4e94c05fb7cbc26

commit 9c90de5bd97e7f38fab272d9c4e94c05fb7cbc26
Author:     ek <ek@purplehat.org>
AuthorDate: 2025-09-19 20:57:06 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-09-19 21:07:18 +0000

    archivers/urbackup-client: Fix build on 15+
    
    Restore an accidentally deleted patch.
    
    While here update pkg-message.
    
    PR:     289652
    Fixes:  d70c8a415dd3 (Update 2.5.25.0 => 2.5.26.0)
    MFH:    2025Q3
    (cherry picked from commit c2bedb478220e73b955f850b040f981a5845199d)
---
 .../files/patch-urbackupclient_lin__tokens.cpp               | 11 +++++++++++
 archivers/urbackup-client/files/pkg-message.in               | 12 +++++-------
 2 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/archivers/urbackup-client/files/patch-urbackupclient_lin__tokens.cpp b/archivers/urbackup-client/files/patch-urbackupclient_lin__tokens.cpp
new file mode 100644
index 000000000000..f1ab7794f329
--- /dev/null
+++ b/archivers/urbackup-client/files/patch-urbackupclient_lin__tokens.cpp
@@ -0,0 +1,11 @@
+--- urbackupclient/lin_tokens.cpp.orig	2022-08-21 08:45:31 UTC
++++ urbackupclient/lin_tokens.cpp
+@@ -34,7 +34,7 @@ TokenCache::TokenCache()
+ };
+ 
+ TokenCache::TokenCache()
+-: token_cache(NULL)
++: token_cache()
+ {
+ }
+ 
diff --git a/archivers/urbackup-client/files/pkg-message.in b/archivers/urbackup-client/files/pkg-message.in
index b7cbfc458da2..73d0d081884e 100644
--- a/archivers/urbackup-client/files/pkg-message.in
+++ b/archivers/urbackup-client/files/pkg-message.in
@@ -16,15 +16,13 @@ The client daemon's configuration file is located at:
 Log rotation can be configured at:
 %%PREFIX%%/etc/newsyslog.conf.d/urbackupclient.conf
 
-If the GTK2 GUI was built, it can be launched via:
+If the GTK4 GUI was built, it can be launched via:
 %%PREFIX%%/bin/urbackupclientctl
 
-NOTE: For client configuration or to view logs, the GTK2 GUI 
-needs to have one of the following in its PATH:
-	- kdesu (e.g., %%PREFIX%%/lib/kde4/libexec/)
-		(port: x11/kde-runtime)
-	- gksu (e.g., %%PREFIX%%/bin/)
-		(port: sysutils/gksu)
+NOTE: For client configuration or to view logs, the GTK4 GUI
+needs to have kdesu in its PATH:
+	e.g., %%PREFIX%%/lib/libexec/kf6/
+		port: sysutils/plasma6-kde-cli-tools
 
 The client can also be configured via the UrBackup Server, or
 %%PREFIX%%/bin/urbackupclientctl