git: 9b50a8cc7977 - main - www/w3m: Enable mouse support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Mar 2026 15:50:34 UTC
The branch main has been updated by nobutaka:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9b50a8cc79778c53eeffc90fc4678bc12ecd7ba7
commit 9b50a8cc79778c53eeffc90fc4678bc12ecd7ba7
Author: MANTANI Nobutaka <nobutaka@FreeBSD.org>
AuthorDate: 2026-03-05 15:46:19 +0000
Commit: MANTANI Nobutaka <nobutaka@FreeBSD.org>
CommitDate: 2026-03-05 15:49:50 +0000
www/w3m: Enable mouse support
---
www/w3m/Makefile | 1 +
www/w3m/files/patch-terms.c | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/www/w3m/Makefile b/www/w3m/Makefile
index 51caafe3a10a..aa52ae3dfd3b 100644
--- a/www/w3m/Makefile
+++ b/www/w3m/Makefile
@@ -1,6 +1,7 @@
PORTNAME= w3m
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.6
+PORTREVISION?= 1
CATEGORIES+= www
MASTER_SITES= https://git.sr.ht/~rkta/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
diff --git a/www/w3m/files/patch-terms.c b/www/w3m/files/patch-terms.c
new file mode 100644
index 000000000000..f4443e864003
--- /dev/null
+++ b/www/w3m/files/patch-terms.c
@@ -0,0 +1,11 @@
+--- terms.c.orig 2026-03-05 15:10:44 UTC
++++ terms.c
+@@ -28,7 +28,7 @@
+ #include <gpm.h>
+ #endif /* USE_GPM */
+ #ifdef USE_SYSMOUSE
+-static int is_xterm = 0;
++static int is_xterm = 1;
+ #include <osreldate.h>
+ #if (__FreeBSD_version >= 400017) || (__FreeBSD_kernel_version >= 400017)
+ #include <sys/consio.h>