Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2012 13:23:32 GMT
From:      Takanori Yamamoto <takanori@miko.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171920: japanese/p5-nkf: there is a typo in pkg-descr
Message-ID:  <201209241323.q8ODNWj6003784@red.freebsd.org>
Resent-Message-ID: <201209241330.q8ODUASC020981@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209241323.q8ODNWj6003784>