- Update to 1.53

PR:		ports/149500
Submitted by:	Frederic Culot <frederic_AT_culot dot org>
Reviewed by:	swell.k at gmail.com
This commit is contained in:
Cheng-Lung Sung
2010-09-06 02:21:18 +00:00
parent d491ede239
commit 133dd18d3b
3 changed files with 15 additions and 8 deletions

View File

@@ -6,8 +6,7 @@
#
PORTNAME= diffstat
PORTVERSION= 1.51
PORTREVISION= 1
PORTVERSION= 1.53
CATEGORIES= textproc devel
MASTER_SITES= ftp://dickey.his.com/diffstat/
EXTRACT_SUFX= .tgz
@@ -21,9 +20,6 @@ MAKEFILE= makefile
MAN1= diffstat.1
PLIST_FILES= bin/diffstat
post-patch: .SILENT
${REINPLACE_CMD} 's/lzcat/xz/' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/diffstat ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1

View File

@@ -1,3 +1,3 @@
MD5 (diffstat-1.51.tgz) = a7d3fd1ba2a9a6c9e2b32e867b5e8792
SHA256 (diffstat-1.51.tgz) = c0c83c6eea054cbf0a3a9c0621ae3bef1a9a33914d417f08569159c975644075
SIZE (diffstat-1.51.tgz) = 209813
MD5 (diffstat-1.53.tgz) = 0631010aa598a8011259749dd882936a
SHA256 (diffstat-1.53.tgz) = 8110414819b0cac34afb2a0afd244636572db1cefec5e970e7fa4ca5b71e3f75
SIZE (diffstat-1.53.tgz) = 215069

View File

@@ -0,0 +1,11 @@
--- diffstat.c.orig 2010-08-10 19:27:19.414564698 +0200
+++ diffstat.c 2010-08-10 19:28:49.625931506 +0200
@@ -1934,7 +1934,7 @@ is_compressed(const char *name)
} else if (len > 5 && !strcmp(name + len - 5, ".lzma")) {
which = dcLzma;
} else if (len > 3 && !strcmp(name + len - 3, ".xz")) {
- which = dcLzma;
+ which = dcXz;
} else {
which = dcNone;
}