1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

- Update to 2.01a5

- Display trouble correction that originates in problem for y2k fix.

PR:             ports/143305
Submitted by:   Takefu <takefu@airport.fm>
This commit is contained in:
Philip M. Gollucci 2010-02-10 03:08:13 +00:00
parent 8e7fd42f21
commit 4c86d51bb9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249506
3 changed files with 21 additions and 5 deletions

View File

@ -5,9 +5,11 @@
# $FreeBSD$
PORTNAME= ish
PORTVERSION= 1.11
PORTVERSION= 2.01a5
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_PORTS_JP}
MASTER_SITES= http://www.unix.gr.jp/jnetcex/soft/\
${MASTER_SITE_PORTS_JP}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= Binary-to-text file-encoder
@ -17,4 +19,7 @@ MAKE_ARGS= CFLAGS="${CFLAGS}" DEST=${PREFIX}/bin
PLIST_FILES= bin/ish
ALL_TARGET= ish
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (ish-1.11.tar.gz) = 072b894fd4014e9f06ea6c78f6a4f252
SHA256 (ish-1.11.tar.gz) = ac5eea13a9bb7f9adb5ba5161881b159d27f80967bbcf0e52193c5c1916b15df
SIZE (ish-1.11.tar.gz) = 13029
MD5 (ish201a5.tar.gz) = ae1b62c7777d17b6d64a1c1b056d8114
SHA256 (ish201a5.tar.gz) = b62828c18c4564bf6a93a0c211060357c3d2b5f0b6777a52c399c10f4d93906d
SIZE (ish201a5.tar.gz) = 25803

View File

@ -0,0 +1,11 @@
--- decode.c.orig 1996-01-07 19:46:37.000000000 +0900
+++ decode.c 2010-01-28 10:48:29.000000000 +0900
@@ -265,7 +265,7 @@
fprintf(stderr, " ) ");
if (head->tstamp != 0) {
p = head->time;
- tm.tm_year = (p[3]>>1)+80;
+ tm.tm_year = (p[3]>>1)+1980;
tm.tm_mon = (p[3]&0x01)<<3;
tm.tm_mon += (p[2]>>5) - 1;
tm.tm_mday = p[2]&0x1f;