Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2017 14:57:02 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448538 - in head/editors/nvi-m17n: . files
Message-ID:  <201708221457.v7MEv2Lw047829@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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];
+ 		}
+ 	}



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