git: ffaa82dccfab - main - net/wireshark: Fix build with base Kerberos

From: Joe Marcus Clarke <marcus_at_FreeBSD.org>
Date: Thu, 16 Oct 2025 16:06:51 UTC
The branch main has been updated by marcus:

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

commit ffaa82dccfab9e333d3bda1cdf61537c8543715d
Author:     Joe Marcus Clarke <marcus@FreeBSD.org>
AuthorDate: 2025-10-16 16:05:31 +0000
Commit:     Joe Marcus Clarke <marcus@FreeBSD.org>
CommitDate: 2025-10-16 16:05:31 +0000

    net/wireshark: Fix build with base Kerberos
    
    Remove an errant ')' that was introduced upstream.
    
    PR:             290197
---
 net/wireshark/files/patch-epan_dissectors_packet-kerberos.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/net/wireshark/files/patch-epan_dissectors_packet-kerberos.c b/net/wireshark/files/patch-epan_dissectors_packet-kerberos.c
new file mode 100644
index 000000000000..13c7bfbd0ac6
--- /dev/null
+++ b/net/wireshark/files/patch-epan_dissectors_packet-kerberos.c
@@ -0,0 +1,11 @@
+--- epan/dissectors/packet-kerberos.c.orig	2025-10-16 15:54:37 UTC
++++ epan/dissectors/packet-kerberos.c
+@@ -3401,7 +3401,7 @@ read_keytab_file(const char *filename)
+ 
+ 			/* generate origin string, describing where this key came from */
+ 			for(i=0;i<key.principal->name.name_string.len;i++){
+-				wmem_strbuf_append_printf(str_principal, "%s%s",(i?"/":""),key.principal->name.name_string.val[i]));
++				wmem_strbuf_append_printf(str_principal, "%s%s",(i?"/":""),key.principal->name.name_string.val[i]);
+ 			}
+ 			wmem_strbuf_append_printf(str_principal, "@%s",key.principal->realm);
+ 			new_key->key_origin = (char*)wmem_strbuf_get_str(str_principal);