freebsd-ports/devel/binutils/files/patch-etc_texi2pod.pl
Fernando Apesteguía a055899f4f devel/binutils: Fix manpage generation after 2.37
A bug[1] upstream in 2.37 left empty man pages after build.
The downloaded distribution file comes with empty man pages too.

Apply patch from upstream[1] and force man page regeration by removing the ones
which come with the distribution.

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=28144
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=28144#c3

PR:	257982
Reported by:	jbeich@
2021-09-02 07:43:11 +02:00

11 lines
288 B
Perl

--- etc/texi2pod.pl.orig 2021-08-30 17:17:09 UTC
+++ 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 {