ports/171920: japanese/p5-nkf: there is a typo in pkg-descr
Takanori Yamamoto
takanori at miko.org
Mon Sep 24 13:30:11 UTC 2012
>Number: 171920
>Category: ports
>Synopsis: japanese/p5-nkf: there is a typo in pkg-descr
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 24 13:30:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Takanori Yamamoto
>Release: 9.0-RELEASE
>Organization:
>Environment:
FreeBSD azusa.miko.org 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
pkg-descr says the syntax of p5-nkf is:
use NKF;
$output = nkf ($flags, $input)
But the first argument of nkf() have to be an array, not a scalar value. So it should be:
use NKF;
$output = nkf (@flags, $input)
(for more details about the usage of p5-nkf, see: nkf-2.1.2/NKF.mod/README)
>How-To-Repeat:
This is a documentation bug.
>Fix:
--- japanese/p5-nkf/pkg-descr.orig 2011-10-24 13:16:01.000000000 +0900
+++ japanese/p5-nkf/pkg-descr 2012-09-24 22:08:18.000000000 +0900
@@ -3,4 +3,4 @@
The syntax is as follows:
use NKF;
- $output = nkf ($flags, $input)
+ $output = nkf (@flags, $input)
Patch attached with submission follows:
--- japanese/p5-nkf/pkg-descr.orig 2011-10-24 13:16:01.000000000 +0900
+++ japanese/p5-nkf/pkg-descr 2012-09-24 22:08:18.000000000 +0900
@@ -3,4 +3,4 @@
The syntax is as follows:
use NKF;
- $output = nkf ($flags, $input)
+ $output = nkf (@flags, $input)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list