diff options
-rw-r--r-- | www/w3m/Makefile | 1 | ||||
-rw-r--r-- | www/w3m/files/patch-main.c | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/www/w3m/Makefile b/www/w3m/Makefile index 5982cfc201d4..f06c42ad087a 100644 --- a/www/w3m/Makefile +++ b/www/w3m/Makefile @@ -7,6 +7,7 @@ PORTNAME= w3m PORTVERSION= ${W3M_VERSION} +PORTREVISION= 1 CATEGORIES+= www ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/www/w3m/files/patch-main.c b/www/w3m/files/patch-main.c new file mode 100644 index 000000000000..955c05f54b6f --- /dev/null +++ b/www/w3m/files/patch-main.c @@ -0,0 +1,20 @@ +--- main.c.orig Wed Jul 17 21:54:51 2002 ++++ main.c Wed Jul 17 21:57:26 2002 +@@ -3307,7 +3307,7 @@ + HmarkerList *hl = Currentbuf->hmarklist; + BufferPoint *po; + Anchor *an; +- int hseq = hl->nmark - 1; ++ int hseq; + + if (Currentbuf->firstLine == NULL) + return; +@@ -3318,6 +3318,8 @@ + hseq = 0; + else if (prec_num > 0) + hseq = hl->nmark - prec_num; ++ else ++ hseq = hl->nmark - 1; + do { + if (hseq < 0) + return; |