SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
textproc/p5-Pod-Parser/patches/patch-lib_Pod_PlainText_pm
Normal file
23
textproc/p5-Pod-Parser/patches/patch-lib_Pod_PlainText_pm
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue