mirror of
https://github.com/termux/termux-packages
synced 2024-06-19 00:47:07 +00:00
less: Bump to 632
This commit is contained in:
parent
9499c0d28a
commit
39d30ce387
|
@ -1,26 +0,0 @@
|
|||
https://github.com/gwsw/less/commit/a78e1351113cef564d790a730d657a321624d79c
|
||||
|
||||
From a78e1351113cef564d790a730d657a321624d79c Mon Sep 17 00:00:00 2001
|
||||
From: Mark Nudelman <markn@greenwoodsoftware.com>
|
||||
Date: Fri, 7 Oct 2022 19:25:46 -0700
|
||||
Subject: [PATCH] End OSC8 hyperlink on invalid embedded escape sequence.
|
||||
|
||||
---
|
||||
line.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/line.c b/line.c
|
||||
index 236c49ae..cba7bdd1 100644
|
||||
--- a/line.c
|
||||
+++ b/line.c
|
||||
@@ -633,8 +633,8 @@ ansi_step(pansi, ch)
|
||||
/* Hyperlink ends with \7 or ESC-backslash. */
|
||||
if (ch == '\7')
|
||||
return ANSI_END;
|
||||
- if (pansi->prev_esc && ch == '\\')
|
||||
- return ANSI_END;
|
||||
+ if (pansi->prev_esc)
|
||||
+ return (ch == '\\') ? ANSI_END : ANSI_ERR;
|
||||
pansi->prev_esc = (ch == ESC);
|
||||
return ANSI_MID;
|
||||
}
|
|
@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.greenwoodsoftware.com/less/
|
|||
TERMUX_PKG_DESCRIPTION="Terminal pager program used to view the contents of a text file one screen at a time"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=608
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_VERSION=632
|
||||
TERMUX_PKG_SRCURL=https://www.greenwoodsoftware.com/less/less-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=a69abe2e0a126777e021d3b73aa3222e1b261f10e64624d41ec079685a6ac209
|
||||
TERMUX_PKG_SHA256=6f71b2a9178ddad8a238259032f3c9d21929846ce453af2a77fc906ccc31d4d9
|
||||
TERMUX_PKG_DEPENDS="ncurses, pcre2"
|
||||
TERMUX_PKG_ESSENTIAL=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-regex=pcre2"
|
||||
|
|
Loading…
Reference in New Issue
Block a user