git: d73c8f7cc7ad - main - deskutils/xchm: update to 1.38

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Tue, 10 Feb 2026 06:02:13 UTC
The branch main has been updated by dinoex:

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

commit d73c8f7cc7ad251bfcc460ea773e1d5bf0a1734b
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2026-02-10 06:01:54 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2026-02-10 06:01:54 +0000

    deskutils/xchm: update to 1.38
---
 deskutils/xchm/Makefile                      |  4 ++--
 deskutils/xchm/distinfo                      |  6 +++---
 deskutils/xchm/files/patch-chmhtmlwindow.cpp | 11 +++++++++++
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/deskutils/xchm/Makefile b/deskutils/xchm/Makefile
index a3017a6e6754..b97f7318139c 100644
--- a/deskutils/xchm/Makefile
+++ b/deskutils/xchm/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xchm
-PORTVERSION=	1.37
-PORTREVISION=	2
+PORTVERSION=	1.38
+PORTREVISION=	0
 CATEGORIES=	deskutils
 
 MAINTAINER=	dinoex@FreeBSD.org
diff --git a/deskutils/xchm/distinfo b/deskutils/xchm/distinfo
index ce5a33640f65..3dbde7eba132 100644
--- a/deskutils/xchm/distinfo
+++ b/deskutils/xchm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1729758617
-SHA256 (rzvncj-xCHM-1.37_GH0.tar.gz) = 16d10b52bd98706c639866eebc30b904a963d10dc76ea7dc65fb20342e9f70a7
-SIZE (rzvncj-xCHM-1.37_GH0.tar.gz) = 647001
+TIMESTAMP = 1770701952
+SHA256 (rzvncj-xCHM-1.38_GH0.tar.gz) = f6db981faa426b29d432e0fcfc83fc5b6192972cd02fe9412b0348f425e9b60d
+SIZE (rzvncj-xCHM-1.38_GH0.tar.gz) = 647679
diff --git a/deskutils/xchm/files/patch-chmhtmlwindow.cpp b/deskutils/xchm/files/patch-chmhtmlwindow.cpp
new file mode 100644
index 000000000000..eeec0bd27d62
--- /dev/null
+++ b/deskutils/xchm/files/patch-chmhtmlwindow.cpp
@@ -0,0 +1,11 @@
+--- src/chmhtmlwindow.cpp.orig	2026-02-01 10:31:54 UTC
++++ src/chmhtmlwindow.cpp
+@@ -42,7 +42,7 @@ class CHMDropTarget : public wxFileDropTarget { (publi
+ 
+     bool OnDropFiles(wxCoord /* x */, wxCoord /* y */, const wxArrayString& filenames) override
+     {
+-        if (filenames.size() == 1 && filenames[0].Lower().ends_with(".chm")) {
++        if (filenames.size() == 1 && filenames[0].Lower().EndsWith(".chm")) {
+             _frame->LoadCHM(filenames[0]);
+             return true;
+         }