diff options
| author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2026-03-05 15:46:19 +0000 |
|---|---|---|
| committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2026-03-05 15:49:50 +0000 |
| commit | 9b50a8cc79778c53eeffc90fc4678bc12ecd7ba7 (patch) | |
| tree | d4d80a6cbbfd89f8d9038534bb58f0265299a135 | |
| parent | fc7dea787d3b2e203ea41cccc26292caf3485004 (diff) | |
www/w3m: Enable mouse support
| -rw-r--r-- | www/w3m/Makefile | 1 | ||||
| -rw-r--r-- | www/w3m/files/patch-terms.c | 11 |
2 files changed, 12 insertions, 0 deletions
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> |
