SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,23 @@
Index: lib/Pod/PlainText.pm
--- lib/Pod/PlainText.pm.orig
+++ lib/Pod/PlainText.pm
@@ -139,6 +139,19 @@ sub initialize {
return $self->SUPER::initialize;
}
+# pod2text and pod2man re-use the same parser on a list of files,
+# and will lose some information if some intermediate documents produce
+# unbalanced calls to begin_cmd/end_cmd.
+# via r1.4 of OpenBSD src/gnu/usr.bin/perl/lib/Pod/PlainText.pm
+sub begin_pod {
+ my $self = shift;
+
+ $$self{VERBATIM} = 0;
+ $$self{EXCLUDE} = 0;
+
+ return $self->SUPER::begin_pod(@_);
+}
+
############################################################################
# Core overrides