Date: Tue, 7 Feb 2006 12:46:36 +0900 (JST) From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92939: update japanese/less. Message-ID: <200602070346.k173kaAR098042@polymer3.scphys.kyoto-u.ac.jp> Resent-Message-ID: <200602070350.k173o3Oj051747@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92939 >Category: ports >Synopsis: update japanese/less. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 07 03:50:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Tsurutani Naoki >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 5.4-STABLE FreeBSD 5.4-STABLE #16: Wed Jan 18 18:03:11 JST 2006 turutani@polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386 >Description: update japanese/less with new patch. this fixes a bug of handling files with CR+LF. >How-To-Repeat: >Fix: here is a patch: --- Makefile.orig Fri Jan 6 04:30:47 2006 +++ Makefile Tue Feb 7 12:32:14 2006 @@ -6,7 +6,7 @@ # PORTNAME= less+iso -PORTVERSION= 382.258 +PORTVERSION= 382.259 PORTREVISION= 0 CATEGORIES= japanese MASTER_SITES= http://www25.big.jp/~jam/less/ \ @@ -18,7 +18,8 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} PATCH_SITES= http://www25.big.jp/~jam/less/ -PATCHFILES= ${DISTNAME}-iso${PORTVERSION:E}.patch.gz +PATCHFILES= ${DISTNAME}-iso258.patch.gz \ + ${DISTNAME}-iso258-${PORTVERSION:E}.patch.gz PATCH_DIST_STRIP= -p1 MAINTAINER= sf@FreeBSD.org @@ -34,7 +35,8 @@ post-patch: (cd ${WRKSRC} ; \ ${RM} -f COPYING; \ - ${GZCAT} ${DISTDIR}/regex_cs-lwp9k.shar.gz | ${SH} ) + ${GZCAT} ${DISTDIR}/regex_cs-lwp9k.shar.gz | ${SH}; \ + ${PATCH} < ${PATCHDIR}/regex_cs.c.patch ) post-install: .if !defined(NOPORTDOCS) diff -urP less.safe/distinfo less/distinfo --- distinfo.orig Fri Jan 6 04:30:47 2006 +++ distinfo Tue Feb 7 12:19:15 2006 @@ -7,3 +7,6 @@ MD5 (less-382-iso258.patch.gz) = bc42654a79a727c15b87596708a22333 SHA256 (less-382-iso258.patch.gz) = 0681485f47237aeee42a34bbf0ab55215933c7713d1be80ac202a31c7a6fdc31 SIZE (less-382-iso258.patch.gz) = 87859 +MD5 (less-382-iso258-259.patch.gz) = f62f5a06fff9c3c1f209800287c0f61a +SHA256 (less-382-iso258-259.patch.gz) = 845bb97f407727febd4ee4014618715884bf393d1531089e18faf4e895e19cec +SIZE (less-382-iso258-259.patch.gz) = 9466 diff -urP less.safe/files/patch-ac less/files/patch-ac --- files/patch-ac.orig Sun Dec 31 07:01:57 2000 +++ files/patch-ac Tue Feb 7 12:20:08 2006 @@ -4,5 +4,5 @@ in search.c. */ --char version[] = "358+iso254"; -+char version[] = "358+iso254+regex_cs-lwp9k+gtags"; +-char version[] = "382+iso259"; ++char version[] = "382+iso259+regex_cs-lwp9k"; diff -urP less.safe/files/regex_cs.c.patch less/files/regex_cs.c.patch --- /dev/null Thu Jan 1 09:00:00 1970 +++ files/regex_cs.c.patch Tue Feb 7 12:21:58 2006 @@ -0,0 +1,11 @@ +--- regex_cs.c.orig Tue Feb 7 12:08:50 2006 ++++ regex_cs.c Tue Feb 7 12:10:03 2006 +@@ -39,7 +39,7 @@ + #include "config.h" + #endif + #include "defines.h" +-#include "multi.h" ++#include "less.h" + #define ISCSDMY(c,cs) (CSISASCII(cs) && (c == PADCH)) + + #define SWITCH_ENUM_BUG If this PR is adopted, please dismiss the PR ports/92877. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602070346.k173kaAR098042>