mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Fix build with Perl 5.16
This commit is contained in:
parent
6d77626597
commit
ab775d63f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329432
1 changed files with 25 additions and 0 deletions
25
math/gri/files/patch-doc__texinfo2HTML
Normal file
25
math/gri/files/patch-doc__texinfo2HTML
Normal file
|
@ -0,0 +1,25 @@
|
|||
--- ./doc/texinfo2HTML.orig 2013-10-05 13:52:30.000000000 +0400
|
||||
+++ ./doc/texinfo2HTML 2013-10-05 13:53:16.000000000 +0400
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
+use POSIX qw(ctime);
|
||||
+use Getopt::Std;
|
||||
+
|
||||
#$example_indent = " ";
|
||||
$example_indent = "";
|
||||
|
||||
@@ -54,12 +57,10 @@
|
||||
the end is here} and more blah
|
||||
will not get the \@code{} item converted correctly.
|
||||
";
|
||||
-require "ctime.pl";
|
||||
-require "getopts.pl";
|
||||
|
||||
$debug = 0;
|
||||
|
||||
-die if !&Getopts('h');
|
||||
+die if !getopts('h');
|
||||
$print_help = 0;
|
||||
$print_help = $opt_h if $opt_h;
|
||||
if ($print_help) {
|
Loading…
Add table
Reference in a new issue