binutils: fix empty manual pages issue

This commit is contained in:
Dylan Araps 2021-08-21 21:03:37 +03:00
parent ce790b94c2
commit 0d76d5c0df
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
4 changed files with 21 additions and 0 deletions

View File

@ -2,6 +2,13 @@
patch -p1 < fix-fd-issue.patch
# Latest binutils tarball has falsely generated (empty) manual pages.
# Generating them requires perl. Temporary fix until next release.
! kiss l perl || {
patch -p1 < fix-empty-man.patch
rm -f binutils/doc/*.1 ld/ld.1 gas/doc/as.1 gprof/gprof.1
}
cat > makeinfo <<EOF
#!/bin/sh
printf 'makeinfo (GNU texinfo) 5.2\n'

View File

@ -1,2 +1,3 @@
820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c
9374c853799630e0aa0b3a97db260874418bbee3a21d8becad6a019c9f436636
10cbf96312ae3662a0fb9606e0f9c36ce483fe95006fd215d7bceb00b81169ac

View File

@ -0,0 +1,12 @@
diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl
index 11f70d1..8e50c08 100644
--- a/etc/texi2pod.pl
+++ b/etc/texi2pod.pl
@@ -59,6 +59,7 @@ while ($_ = shift) {
$flag = shift;
}
push (@ipath, $flag);
+ } elsif (/^--no-split$/) {
} elsif (/^-/) {
usage();
} else {

View File

@ -1,2 +1,3 @@
https://ftp.gnu.org/gnu/binutils/binutils-VERSION.tar.xz
patches/fix-fd-issue.patch
patches/fix-empty-man.patch