Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com> (cherry picked from commit 0775294ba9dbd40bbc7c2139199554db7ca22d1c)
This commit is contained in:
parent
4a99a541be
commit
ef2cb40fc3
@ -1,13 +1,14 @@
|
|||||||
Summary: A text browser for the World Wide Web
|
Summary: A text browser for the World Wide Web
|
||||||
Name: lynx
|
Name: lynx
|
||||||
Version: 2.8.9
|
Version: 2.8.9
|
||||||
Release: 6
|
Release: 7
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://lynx.browser.org/
|
URL: http://lynx.browser.org/
|
||||||
Source: https://invisible-mirror.net/archives/%{name}/tarballs/%{name}%{version}rel.1.tar.bz2
|
Source: https://invisible-mirror.net/archives/%{name}/tarballs/%{name}%{version}rel.1.tar.bz2
|
||||||
|
|
||||||
Patch0: %{name}-CVE-2008-4690.patch
|
Patch0: %{name}-CVE-2008-4690.patch
|
||||||
Patch1: CVE-2021-38165.patch
|
Patch1: CVE-2021-38165.patch
|
||||||
|
Patch2: lynx2.8.9rel.1-sw.patch
|
||||||
|
|
||||||
Provides: webclient text-www-browser
|
Provides: webclient text-www-browser
|
||||||
BuildRequires: dos2unix gcc gettext telnet unzip zip
|
BuildRequires: dos2unix gcc gettext telnet unzip zip
|
||||||
@ -105,6 +106,9 @@ EOF
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 24 2022 wuzx<wuzx1226@qq.com> - 2.8.9-7
|
||||||
|
- Add sw64 architecture
|
||||||
|
|
||||||
* Tue Aug 17 2021 houyingchao <houyingchao@huawei.com> - 2.8.9-6
|
* Tue Aug 17 2021 houyingchao <houyingchao@huawei.com> - 2.8.9-6
|
||||||
- Fix CVE-2021-38165
|
- Fix CVE-2021-38165
|
||||||
|
|
||||||
|
|||||||
18
lynx2.8.9rel.1-sw.patch
Executable file
18
lynx2.8.9rel.1-sw.patch
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
diff -Nuar lynx2.8.9rel.1.org/src/LYCurses.c lynx2.8.9rel.1.sw/src/LYCurses.c
|
||||||
|
--- lynx2.8.9rel.1.org/src/LYCurses.c 2022-02-24 23:14:28.950000000 +0000
|
||||||
|
+++ lynx2.8.9rel.1.sw/src/LYCurses.c 2022-02-24 23:19:27.700000000 +0000
|
||||||
|
@@ -2764,6 +2764,14 @@
|
||||||
|
|
||||||
|
VAXC$ESTABLISH(DCLspawn_exception);
|
||||||
|
|
||||||
|
+#ifdef __SW_64 /** OpenVMS/AXP lacked the TRUSTED flag before v6.1 **/
|
||||||
|
+ if (VersionVMS[1] > '6' ||
|
||||||
|
+ (VersionVMS[1] == '6' && VersionVMS[2] == '.' &&
|
||||||
|
+ VersionVMS[3] >= '1'))
|
||||||
|
+#else
|
||||||
|
+ if (VersionVMS[1] >= '6')
|
||||||
|
+#endif /* __SW_64 */
|
||||||
|
+
|
||||||
|
#ifdef __ALPHA /** OpenVMS/AXP lacked the TRUSTED flag before v6.1 **/
|
||||||
|
if (VersionVMS[1] > '6' ||
|
||||||
|
(VersionVMS[1] == '6' && VersionVMS[2] == '.' &&
|
||||||
Loading…
x
Reference in New Issue
Block a user