diff options
author | bland <bland@FreeBSD.org> | 2013-05-26 23:59:54 +0800 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2013-05-26 23:59:54 +0800 |
commit | eca949d199b38dde12992676a4ebd4e43134fc0d (patch) | |
tree | 5be2ccae709e500c8da588f1aa8b4f87333fde8f /converters | |
parent | 6e12b1c43ce4ac813f91ccd1cb3cfa843b2146bf (diff) | |
download | freebsd-ports-gnome-eca949d199b38dde12992676a4ebd4e43134fc0d.tar.gz freebsd-ports-gnome-eca949d199b38dde12992676a4ebd4e43134fc0d.tar.zst freebsd-ports-gnome-eca949d199b38dde12992676a4ebd4e43134fc0d.zip |
Fix build with perl 5.16.
PR: 178954
Diffstat (limited to 'converters')
-rw-r--r-- | converters/iconv/files/patch-iconv_builtin | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/converters/iconv/files/patch-iconv_builtin b/converters/iconv/files/patch-iconv_builtin new file mode 100644 index 000000000000..c2398eb88f6c --- /dev/null +++ b/converters/iconv/files/patch-iconv_builtin @@ -0,0 +1,34 @@ +--- iconv_builtin.orig 2000-11-20 16:07:41.000000000 -0600 ++++ iconv_builtin 2013-05-24 10:19:34.765696802 -0600 +@@ -31,9 +31,9 @@ + # iconv (Charset Conversion Library) v2.0 + # + +-require 'getopts.pl'; ++use Getopt::Std; + +-&Getopts('mno:s:'); ++getopts('mno:s:'); + + if ($opt_o) { + open(STDOUT, ">$opt_o"); +--- ccs/iconv_mktbl.orig 2000-11-18 15:44:27.000000000 -0600 ++++ ccs/iconv_mktbl 2013-05-24 10:43:06.598689960 -0600 +@@ -31,7 +31,7 @@ + # iconv (Charset Conversion Library) v2.0 + # + +-require 'getopts.pl'; ++use Getopt::Std; + use integer; + + sub pack_hex { +@@ -144,7 +144,7 @@ + $opt_p = '0x'; + $opt_u = 1; + +-&Getopts('aCc:Mm:o:p:u:'); ++getopts('aCc:Mm:o:p:u:'); + # ||| || | | +- u N: field number for Unicode character codes + # ||| || | +--- p str: prefix + # ||| || +----- o file: output file name |