Subject: pkg/30216: Update editors/nvi-m17n
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ishit@oak.dti.ne.jp>
List: pkgsrc-bugs
Date: 05/12/2005 16:25:00
>Number: 30216
>Category: pkg
>Synopsis: Update editors/nvi-m17n
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu May 12 16:25:00 +0000 2005
>Originator: ISIHARA Takanori
>Release: NetBSD/i386 2.0.2
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
NetBSD ishitPc4.home 2.0.2_STABLE NetBSD 2.0.2_STABLE (GENERIC_LAPTOP.user64) #0: Sat Apr 9 09:38:45 JST 2005 sysbuild@ishitPc4.home:/mnt/sysbuild/i386/obj/sys/arch/i386/compile/GENERIC_LAPTOP.user64 i386
>Description:
* I found a new version of nvi-m17n patch.
* I can not found PATCH_SITES, and fix it.
>How-To-Repeat:
>Fix:
diff -uNr /usr/pkgsrc/editors/nvi-m17n/Makefile ./nvi-m17n/Makefile
--- /usr/pkgsrc/editors/nvi-m17n/Makefile 2005-04-12 06:45:41.000000000 +0900
+++ ./nvi-m17n/Makefile 2005-05-13 01:10:51.000000000 +0900
@@ -1,14 +1,13 @@
# $NetBSD: Makefile,v 1.29 2005/04/11 21:45:41 tv Exp $
DISTNAME= nvi-1.79
-PKGNAME= nvi-m17n-1.79.19991117
-PKGREVISION= 2
+PKGNAME= nvi-m17n-1.79.20040401
CATEGORIES= editors
MASTER_SITES= ftp://sleepy.vwh.net/pub/ \
ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
-PATCH_SITES= ftp://lkbreth.foretune.co.jp/pub/tools/nvi-m17n/
-PATCHFILES= nvi-1.79.m17n-19991117.diff.gz
+PATCH_SITES= ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
+PATCHFILES= nvi-1.79.m17n-20040401.diff.gz
MAINTAINER= itojun@itojun.org
COMMENT= Clone of vi/ex, with multilingual patch
@@ -17,7 +16,7 @@
WRKSRC= ${WRKDIR}/${DISTNAME}/build
GNU_CONFIGURE= YES
-PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -p1 -f
+PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -f
CONFIGURE_ENV= OPTFLAG='-D_PATH_SYSEXRC=\"${PREFIX}/etc/vi.exrc\"'
CONFIGURE_ARGS+=--enable-multibyte --program-prefix=n
@@ -77,9 +76,9 @@
.for encoding in ${ENCODING}
@${INSTALL_SCRIPT} ${WRKDIR}/nvi-${encoding} ${PREFIX}/bin
.endfor
- @${CP} ${WRKSRC}/../docs.m17n/README.english \
+ @${CP} ${WRKSRC}/../README.english \
${PREFIX}/share/vi/
- @${CP} ${WRKSRC}/../docs.m17n/README.japanese \
+ @${CP} ${WRKSRC}/../README.japanese \
${PREFIX}/share/vi/
.include "../../mk/bsd.pkg.mk"
diff -uNr /usr/pkgsrc/editors/nvi-m17n/distinfo ./nvi-m17n/distinfo
--- /usr/pkgsrc/editors/nvi-m17n/distinfo 2005-02-24 02:15:12.000000000 +0900
+++ ./nvi-m17n/distinfo 2005-05-13 00:44:17.000000000 +0900
@@ -3,12 +3,9 @@
SHA1 (nvi-1.79.tar.gz) = 65b49768783372609278ecedd63caa8c1547aa2a
RMD160 (nvi-1.79.tar.gz) = 1c39d480e0d30a87fc061c3219354b50011a8621
Size (nvi-1.79.tar.gz) = 1295401 bytes
-SHA1 (nvi-1.79.m17n-19991117.diff.gz) = b242733c5da3c3797be0bd0c1829f7d0cebe451a
-RMD160 (nvi-1.79.m17n-19991117.diff.gz) = 0cdaf4e2a4bd3585d2751037ec377ab0d694e87e
-Size (nvi-1.79.m17n-19991117.diff.gz) = 166609 bytes
+SHA1 (nvi-1.79.m17n-20040401.diff.gz) = 10fa772dad4368727a7ddc740d85cdfda3062414
+RMD160 (nvi-1.79.m17n-20040401.diff.gz) = 1b1790448d38a4f92f3b2df5f6aa566f1d8efff0
+Size (nvi-1.79.m17n-20040401.diff.gz) = 160411 bytes
SHA1 (patch-aa) = c246b1533dfbfc93ad9c0a8ea8cff5db157c9ee8
SHA1 (patch-ab) = f7a382af11f200467ac994d90e108e97c7602b13
-SHA1 (patch-ac) = 738f4b3d51b6b39f2cc4b2cffeb1a1ea412aed89
-SHA1 (patch-ad) = 21b5df4bb13b248f6f1ffe7ca69d91a4eae83561
-SHA1 (patch-ae) = 9e84570d8afdc7c03f71712b9317fcbcc2fa7006
SHA1 (patch-global) = 118bfdcefba77c37c07b29d0c68fb8bbf02cb10e
diff -uNr /usr/pkgsrc/editors/nvi-m17n/patches/patch-ac ./nvi-m17n/patches/patch-ac
--- /usr/pkgsrc/editors/nvi-m17n/patches/patch-ac 2001-10-25 16:46:29.000000000 +0900
+++ ./nvi-m17n/patches/patch-ac 1970-01-01 09:00:00.000000000 +0900
@@ -1,30 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2001/10/25 07:46:29 itojun Exp $
-
---- ../ex/ex_cscope.c.orig Mon Sep 16 04:59:30 1996
-+++ ../ex/ex_cscope.c Thu Oct 25 16:43:51 2001
-@@ -232,14 +232,14 @@
- * name regardless so that we can use it as a base for searches.
- */
- if (stat(dname, &sb)) {
-- msgq(sp, M_SYSERR, dname);
-+ msgq(sp, M_SYSERR, "%s", dname);
- return (1);
- }
- if (S_ISDIR(sb.st_mode)) {
- (void)snprintf(path, sizeof(path),
- "%s/%s", dname, CSCOPE_DBFILE);
- if (stat(path, &sb)) {
-- msgq(sp, M_SYSERR, path);
-+ msgq(sp, M_SYSERR, "%s", path);
- return (1);
- }
- dbname = CSCOPE_DBFILE;
-@@ -762,7 +762,7 @@
-
- io_err: if (feof(csc->from_fp))
- errno = EIO;
-- msgq_str(sp, M_SYSERR, "%s", csc->dname);
-+ msgq_str(sp, M_SYSERR, csc->dname, "%s");
- terminate(sp, csc, 0);
- return (1);
- }
diff -uNr /usr/pkgsrc/editors/nvi-m17n/patches/patch-ad ./nvi-m17n/patches/patch-ad
--- /usr/pkgsrc/editors/nvi-m17n/patches/patch-ad 2001-10-25 16:46:29.000000000 +0900
+++ ./nvi-m17n/patches/patch-ad 1970-01-01 09:00:00.000000000 +0900
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2001/10/25 07:46:29 itojun Exp $
-
---- ../common/exf.c.orig Thu Oct 25 16:43:16 2001
-+++ ../common/exf.c Thu Oct 25 16:43:52 2001
-@@ -887,7 +887,7 @@
- * Note that this code is harmless if you're using libc 4.6.x.
- */
- if (LF_ISSET(FS_APPEND) && lseek(fd, (off_t)0, SEEK_END) < 0) {
-- msgq(sp, M_SYSERR, name);
-+ msgq(sp, M_SYSERR, "%s", name);
- return (1);
- }
- #endif
-@@ -1004,7 +1004,7 @@
- *--s = '.';
- }
- }
-- msgq(sp, M_INFO, s);
-+ msgq(sp, M_INFO, "%s", s);
- if (nf)
- FREE_SPACE(sp, p, 0);
- return (0);
diff -uNr /usr/pkgsrc/editors/nvi-m17n/patches/patch-ae ./nvi-m17n/patches/patch-ae
--- /usr/pkgsrc/editors/nvi-m17n/patches/patch-ae 2004-04-04 02:30:56.000000000 +0900
+++ ./nvi-m17n/patches/patch-ae 1970-01-01 09:00:00.000000000 +0900
@@ -1,22 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2004/04/03 17:30:56 yamt Exp $
-
---- ../common/options.c.orig Tue Jul 3 22:53:06 2001
-+++ ../common/options.c Tue Jul 3 22:48:27 2001
-@@ -1088,7 +1088,7 @@
- /* Copy the string edit options. */
- for (cnt = rval = 0; cnt < O_OPTIONCOUNT; ++cnt) {
- if (optlist[cnt].type != OPT_STR ||
-- F_ISSET(&optlist[cnt], OPT_GLOBAL))
-+ F_ISSET(&sp->opts[cnt], OPT_GLOBAL))
- continue;
- /*
- * If never set, or already failed, NULL out the entries --
-@@ -1131,7 +1131,7 @@
-
- for (cnt = 0; cnt < O_OPTIONCOUNT; ++cnt) {
- if (optlist[cnt].type != OPT_STR ||
-- F_ISSET(&optlist[cnt], OPT_GLOBAL))
-+ F_ISSET(&sp->opts[cnt], OPT_GLOBAL))
- continue;
- if (O_STR(sp, cnt) != NULL)
- free(O_STR(sp, cnt));