FreeBSD Bugzilla – Attachment 131363 Details for
Bug 175431
Add support UTF-8 encoding to ports/japanese/less
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.34 KB, created by
Norikatsu Shigemura
on 2013-01-19 14:00:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Norikatsu Shigemura
Created:
2013-01-19 14:00:00 UTC
Size:
3.34 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 310638) >+++ Makefile (working copy) >@@ -7,7 +7,7 @@ > > PORTNAME= less+iso > PORTVERSION= 382.262 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= japanese > MASTER_SITES= ${MASTER_SITE_LOCAL} > MASTER_SITE_SUBDIR= nork >@@ -22,11 +22,12 @@ > ${DISTNAME}-iso258-259.patch.gz \ > ${DISTNAME}-iso259-260.patch.gz \ > ${DISTNAME}-iso260-261.patch.gz \ >- ${DISTNAME}-iso261-${PORTVERSION:E}.patch.gz >+ ${DISTNAME}-iso261-${PORTVERSION:E}.patch.gz \ >+ ${DISTNAME}-iso${PORTVERSION:E}.ext03.patch.gz > PATCH_DIST_STRIP= -p1 > > MAINTAINER= ports@FreeBSD.org >-COMMENT= Less + zcat + ISO-2022 - a pager similar to more and pg >+COMMENT= Less + zcat + ISO-2022 + UTF-8 - a pager similar to more and pg > > MAKE_JOBS_SAFE= yes > GNU_CONFIGURE= yes >Index: distinfo >=================================================================== >--- distinfo (revision 310638) >+++ distinfo (working copy) >@@ -12,3 +12,5 @@ > SIZE (less-382-iso260-261.patch.gz) = 841 > SHA256 (less-382-iso261-262.patch.gz) = e7249de419acc3b8c4a11bed376d778711fd031887d0df0624d62a6d07356842 > SIZE (less-382-iso261-262.patch.gz) = 2215 >+SHA256 (less-382-iso262.ext03.patch.gz) = 82fb77f21ea1f3281224fcbfad073aeab12fb40d6623c9b40698be952401f821 >+SIZE (less-382-iso262.ext03.patch.gz) = 138951 >Index: files/patch-ac >=================================================================== >--- files/patch-ac (revision 310638) >+++ files/patch-ac (working copy) >@@ -4,5 +4,5 @@ > This modification make regex_cs-lwp9k be able to compile. > */ > >--char version[] = "382+iso262"; >-+char version[] = "382+iso262+regex_cs-lwp9k"; >+-char version[] = "382+iso262+ext3"; >++char version[] = "382+iso262+ext3+regex_cs-lwp9k"; >Index: files/patch-filename.c >=================================================================== >--- files/patch-filename.c (revision 310638) >+++ files/patch-filename.c (working copy) >@@ -1,15 +1,9 @@ > --- filename.c.orig 2010-05-10 23:08:16.800855000 +0900 >-+++ filename.c 2010-05-10 23:10:53.231134025 +0900 >-@@ -802,9 +802,15 @@ >- else if (strcmp(".gz", &filename[length - 3]) == 0 || >- strcmp(".GZ", &filename[length - 3]) == 0) >- return ("| gzip -cd %s"); >-+ else if (strcmp(".xz", &filename[length - 3]) == 0 || >-+ strcmp(".XZ", &filename[length - 3]) == 0) >-+ return ("| xz -cd %s"); >- else if (strcmp(".bz2", &filename[length - 4]) == 0 || >- strcmp(".BZ2", &filename[length - 4]) == 0) >- return ("| bzip2 -cd %s"); >++++ filename.c 2013-01-19 08:38:15.691025968 +0900 >+@@ -817,6 +817,9 @@ >+ else if (strcmp(".xz", &filename[length - 3]) == 0 || >+ strcmp(".XZ", &filename[length - 3]) == 0) >+ return ("| xz -cd %s"); > + else if (strcmp(".lzma", &filename[length - 5]) == 0 || > + strcmp(".LZMA", &filename[length - 5]) == 0) > + return ("| lzma -cd %s"); >Index: pkg-descr >=================================================================== >--- pkg-descr (revision 310638) >+++ pkg-descr (working copy) >@@ -7,5 +7,8 @@ > This enhanced less support ISO 2022 code extension techniqes and > Japanese codes(EUC Japanese, SJIS) and compressed(or gzipped) file > viewing. The author of this patch is jam@pobox.com. See >-WWW: http://www25.big.jp/~jam/less/ >+WWW: http://www25.big.jp/~jam/less/ (not available) > for the latest info. >+ >+ And UTF-8 supported by bogytech. >+WWW: http://bogytech.blogspot.jp/2011/06/jless-utf-8.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 175431
: 131363