aboutsummaryrefslogtreecommitdiffstats
path: root/converters/iconv
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-12-01 18:22:32 +0800
committersobomax <sobomax@FreeBSD.org>2000-12-01 18:22:32 +0800
commit19f56953d3d4f9bfcf852a4e60ca3d42870dc45d (patch)
tree8122caf2e64272b3ff0323bb3640711031f775b5 /converters/iconv
parentfb98eb779a5ec0d2da8f779c9d3ef6ac5b2e6b2f (diff)
downloadfreebsd-ports-gnome-19f56953d3d4f9bfcf852a4e60ca3d42870dc45d.tar.gz
freebsd-ports-gnome-19f56953d3d4f9bfcf852a4e60ca3d42870dc45d.tar.zst
freebsd-ports-gnome-19f56953d3d4f9bfcf852a4e60ca3d42870dc45d.zip
Fix mesbehaving on systems with Perl < 5.6.0 script and remove my temporary
workaround. Submitted by: maintainer
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;