aboutsummaryrefslogtreecommitdiff
path: root/converters/iconv
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-12-01 10:22:32 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-12-01 10:22:32 +0000
commit7f54672486b29748fa479dc0ca12b842cebc532d (patch)
treeb11e81a64fbba9e11afb78890af3fed266b18779 /converters/iconv
parent54fa8c1be3799734694e019c82378d4a23aec8d6 (diff)
downloadports-7f54672486b29748fa479dc0ca12b842cebc532d.tar.gz
ports-7f54672486b29748fa479dc0ca12b842cebc532d.zip
Fix mesbehaving on systems with Perl < 5.6.0 script and remove my temporary
workaround. Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=35575
Diffstat (limited to 'converters/iconv')
-rw-r--r--converters/iconv/files/patch-ah11
1 files changed, 11 insertions, 0 deletions
diff --git a/converters/iconv/files/patch-ah b/converters/iconv/files/patch-ah
new file mode 100644
index 000000000000..af4ba8666d03
--- /dev/null
+++ b/converters/iconv/files/patch-ah
@@ -0,0 +1,11 @@
+--- iconv_builtin 2000/12/01 10:15:21 1.1
++++ iconv_builtin 2000/12/01 10:15:46
+@@ -83,7 +83,7 @@
+ %builtins = map { $pic = 1 if $_ eq 'PIC'; $_ => $pic } @ARGV;
+
+ while (<STDIN>) {
+- unless (/^([^[:space:]#]+)/) {
++ unless (/^([^\s#]+)/) {
+ # line continuation or comment
+ print $_ unless $opt_s || !$opt_n || /^#WARNING/;
+ next;