!146 修复man命令不能查看binutils中工具的帮助信息。
From: @eastb233 Reviewed-by: @peilin-guo Signed-off-by: @peilin-guo
This commit is contained in:
commit
7ac5bf6d00
@ -0,0 +1,37 @@
|
|||||||
|
From 96a7037cd8573cf065aa6b12baca68696f96d9ca Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sergei Trofimovich <siarheit@google.com>
|
||||||
|
Date: Mon, 26 Jul 2021 22:51:18 +0100
|
||||||
|
Subject: [PATCH] texi2pod.pl: add no-op --no-split option support [PR28144]
|
||||||
|
|
||||||
|
Change 2faf902da ("generate single html manual page by default")
|
||||||
|
added use of --no-split option to makeinfo. binutils reuses
|
||||||
|
makeinfo options for texi2pod.pl wrapper. Unsupported option
|
||||||
|
led to silent manpage truncation.
|
||||||
|
|
||||||
|
The change adds no-op option support.
|
||||||
|
|
||||||
|
etc/
|
||||||
|
|
||||||
|
* texi2pod.pl: Handle no-op --no-split option.
|
||||||
|
|
||||||
|
Signed-off-by: Wei, Qiang <qiang.wei@suse.com>
|
||||||
|
---
|
||||||
|
etc/texi2pod.pl | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl
|
||||||
|
index 11f70d156be..dcf2b437640 100644
|
||||||
|
--- a/etc/texi2pod.pl
|
||||||
|
+++ b/etc/texi2pod.pl
|
||||||
|
@@ -59,6 +59,8 @@ while ($_ = shift) {
|
||||||
|
$flag = shift;
|
||||||
|
}
|
||||||
|
push (@ipath, $flag);
|
||||||
|
+ } elsif (/^--no-split$/) {
|
||||||
|
+ # ignore option for makeinfo compatibility
|
||||||
|
} elsif (/^-/) {
|
||||||
|
usage();
|
||||||
|
} else {
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
Summary: Binary utilities
|
Summary: Binary utilities
|
||||||
Name: binutils
|
Name: binutils
|
||||||
Version: 2.37
|
Version: 2.37
|
||||||
Release: 10
|
Release: 11
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://sourceware.org/binutils
|
URL: https://sourceware.org/binutils
|
||||||
|
|
||||||
@ -64,6 +64,7 @@ Patch40: 0028-x86-reduce-AVX512-FP-set-of-insns-decoded-through-ve.patch
|
|||||||
Patch41: 0029-x86-consistently-use-scalar_mode-for-AVX512-FP16-sca.patch
|
Patch41: 0029-x86-consistently-use-scalar_mode-for-AVX512-FP16-sca.patch
|
||||||
Patch42: backport-CVE-2022-38126.patch
|
Patch42: backport-CVE-2022-38126.patch
|
||||||
|
|
||||||
|
Patch43: backport-0001-texi2pod.pl-add-no-op-no-split-option-support-PR2814.patch
|
||||||
|
|
||||||
Provides: bundled(libiberty)
|
Provides: bundled(libiberty)
|
||||||
|
|
||||||
@ -143,6 +144,7 @@ sed -i -e "s/^DEJATOOL = .*/DEJATOOL = binutils/" binutils/Makefile.in
|
|||||||
sed -i -e "s/^DEJATOOL = .*/DEJATOOL = gas/" gas/Makefile.in
|
sed -i -e "s/^DEJATOOL = .*/DEJATOOL = gas/" gas/Makefile.in
|
||||||
sed -i -e "s/^DEJATOOL = .*/DEJATOOL = ld/" ld/Makefile.in
|
sed -i -e "s/^DEJATOOL = .*/DEJATOOL = ld/" ld/Makefile.in
|
||||||
|
|
||||||
|
touch gas/doc/as.texi
|
||||||
touch */configure
|
touch */configure
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -386,6 +388,9 @@ fi
|
|||||||
%{_infodir}/bfd*info*
|
%{_infodir}/bfd*info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 02 2022 Wei, Qiang <qiang.wei@suse.com> - 2.37-11
|
||||||
|
- Fix man page empty issue
|
||||||
|
|
||||||
* Thu Sep 8 2022 yinyongkang <yinyongkang@kylinos.cn> - 2.37-10
|
* Thu Sep 8 2022 yinyongkang <yinyongkang@kylinos.cn> - 2.37-10
|
||||||
- Type:CVE
|
- Type:CVE
|
||||||
- ID:CVE-2022-38126
|
- ID:CVE-2022-38126
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user