svn commit: r448538 - in head/editors/nvi-m17n: . files

Steve Wills swills at FreeBSD.org
Tue Aug 22 14:57:03 UTC 2017


Author: swills
Date: Tue Aug 22 14:57:02 2017
New Revision: 448538
URL: https://svnweb.freebsd.org/changeset/ports/448538

Log:
  editors/nvi-m17n: Fix autodetect of iso-2022-jp2
  
  PR:		215852
  Submitted by:	Yasuhito FUTATSUKI <freebsd-bug-report-yf at yf.bsdclub.org>

Added:
  head/editors/nvi-m17n/files/patch-common-multibyte.c   (contents, props changed)
Modified:
  head/editors/nvi-m17n/Makefile

Modified: head/editors/nvi-m17n/Makefile
==============================================================================
--- head/editors/nvi-m17n/Makefile	Tue Aug 22 14:55:12 2017	(r448537)
+++ head/editors/nvi-m17n/Makefile	Tue Aug 22 14:57:02 2017	(r448538)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nvi
 PORTVERSION=	1.79.20040608
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	1
 CATEGORIES?=	editors
 MASTER_SITES=	ftp://ftp.mk.bsdclub.org/pub/FreeBSD/distfiles/	\

Added: head/editors/nvi-m17n/files/patch-common-multibyte.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/nvi-m17n/files/patch-common-multibyte.c	Tue Aug 22 14:57:02 2017	(r448538)
@@ -0,0 +1,11 @@
+--- ../common/multibyte.c.orig	2017-01-07 18:04:20.087312000 +0900
++++ ../common/multibyte.c	2017-01-07 18:05:53.585988000 +0900
+@@ -1455,7 +1455,7 @@
+ 			return ename;
+ 
+ 		for (i = 0; i < maxfunc; i++) {
+-			if (maybe == (1 << i))
++			if (maybe & (1 << i))
+ 				return dt->name[i];
+ 		}
+ 	}


More information about the svn-ports-all mailing list