!67 取消删除部分宏,以修复在vt100模式下打开文件卡顿
From: @yinyongkang Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
08e3fd6fff
25
backport-Undelete-usleep-nanosleep-ttyname-poll.patch
Normal file
25
backport-Undelete-usleep-nanosleep-ttyname-poll.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From a1253db65213beb0edbf8fa4ab2de9cec729bd2b Mon Sep 17 00:00:00 2001
|
||||||
|
From: rpm-build <rpm-build>
|
||||||
|
Date: Tue, 2 Apr 2024 14:56:55 +0800
|
||||||
|
Subject: [PATCH] Undelete usleep,nanosleep,ttyname,poll
|
||||||
|
|
||||||
|
---
|
||||||
|
configure.ac | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index f0b71e1..52c5f90 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -276,7 +276,7 @@ AC_TRY_COMPILE([], [int f(int a) { return a; }],
|
||||||
|
|
||||||
|
# Checks for library functions.
|
||||||
|
AC_TYPE_SIGNAL
|
||||||
|
-AC_CHECK_FUNCS([popen _setjmp sigprocmask sigsetmask snprintf stat system fchmod realpath])
|
||||||
|
+AC_CHECK_FUNCS([fchmod nanosleep poll popen realpath _setjmp sigprocmask sigsetmask snprintf stat system ttyname usleep])
|
||||||
|
|
||||||
|
# AC_CHECK_FUNCS may not work for inline functions, so test these separately.
|
||||||
|
AC_MSG_CHECKING(for memcpy)
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: less
|
Name: less
|
||||||
Version: 590
|
Version: 590
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Less is a pager that displays text files.
|
Summary: Less is a pager that displays text files.
|
||||||
License: GPLv3+ or BSD
|
License: GPLv3+ or BSD
|
||||||
URL: http://www.greenwoodsoftware.com/less
|
URL: http://www.greenwoodsoftware.com/less
|
||||||
@ -9,6 +9,7 @@ Patch0: less-394-time.patch
|
|||||||
Patch1: less-475-fsync.patch
|
Patch1: less-475-fsync.patch
|
||||||
Patch2: backport-End-OSC8-hyperlink-on-invalid-embedded-escape-sequen.patch
|
Patch2: backport-End-OSC8-hyperlink-on-invalid-embedded-escape-sequen.patch
|
||||||
Patch3: backport-Shell-quote-filenames-when-invoking-LESSCLOSE.patch
|
Patch3: backport-Shell-quote-filenames-when-invoking-LESSCLOSE.patch
|
||||||
|
Patch4: backport-Undelete-usleep-nanosleep-ttyname-poll.patch
|
||||||
|
|
||||||
BuildRequires: git gcc make ncurses-devel autoconf automake libtool
|
BuildRequires: git gcc make ncurses-devel autoconf automake libtool
|
||||||
|
|
||||||
@ -47,6 +48,9 @@ autoreconf -ivf
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 02 2024 yinyongkang <yinyongkang@kylinos.cn> - 590-4
|
||||||
|
- Undelete usleep,nanosleep,ttyname,poll
|
||||||
|
|
||||||
* Mon Feb 19 2024 liweigang <izmirvii@gmail.com> - 590-3
|
* Mon Feb 19 2024 liweigang <izmirvii@gmail.com> - 590-3
|
||||||
- fix CVE-2022-48624
|
- fix CVE-2022-48624
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user