Hi,

ok?

Fix jless not to crash when it starts running.  Diff from Akira Kato.

Index: Makefile
===================================================================
RCS file: /cvs/ports/japanese/less/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile    27 Nov 2014 12:26:49 -0000      1.25
+++ Makefile    17 Mar 2016 02:15:05 -0000
@@ -4,7 +4,7 @@ COMMENT=        less + zcat + ISO-2022 - a page
 
 DISTNAME=      less-332
 PKGNAME=       ja-less-3.32pl2.48
-REVISION=      0
+REVISION=      1
 CATEGORIES=    japanese
 MASTER_SITES=  ${MASTER_SITE_GNU:=less/}
 HOMEPAGE=      http://www.pobox.com/~jam/less/
Index: patches/patch-multi_c
===================================================================
RCS file: patches/patch-multi_c
diff -N patches/patch-multi_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-multi_c       17 Mar 2016 02:15:05 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- multi.c.orig       Thu Mar 17 11:05:35 2016
++++ multi.c    Thu Mar 17 11:08:47 2016
+@@ -31,8 +31,7 @@
+  * codes.  And convert it to other codes to display them.
+  */
+ 
+-#include "defines.h"
+-#include "multi.h"
++#include "less.h"
+ 
+ #include <stdio.h>
+ #include <assert.h>
Index: patches/patch-unify_c
===================================================================
RCS file: patches/patch-unify_c
diff -N patches/patch-unify_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-unify_c       17 Mar 2016 02:15:05 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+--- unify.c.orig       Thu Mar 17 11:04:56 2016
++++ unify.c    Thu Mar 17 11:05:10 2016
+@@ -29,8 +29,7 @@
+  * Routines to unify a multi bytes character.
+  */
+ 
+-#include "defines.h"
+-#include "multi.h"
++#include "less.h"
+ 
+ 
+ #if ISO

Reply via email to