summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2006-05-08 06:22:51 +0000
committersnj <snj@pkgsrc.org>2006-05-08 06:22:51 +0000
commitb6a1d32f4a1d84ef24c7bbec06d3e031256c520b (patch)
tree2922a8018bcfec2c8ee7e428eea18dcdcdfd432c /textproc
parentb16abf0c27c076585fab54507d1f04a8fdf7e25d (diff)
downloadpkgsrc-b6a1d32f4a1d84ef24c7bbec06d3e031256c520b.tar.gz
Update to 1.41. Selected changes:
* add options -l, -r and -t. add to -f option * improve I/O on Linux using fgetc_locked(). * improve searching of long sorted lists using tsearch() * change order of merging and prefix-stripping so stripping all prefixes, e.g., with -p9, will be sorted as expected * correct a reference to freed memory after merging found with valgrind. * fix a different case for data beginning with "--" which was treated as a header line. * Fix allocation problems. Open files in binary mode for reading. Getopt returns -1, not necessarily EOF. Add const where useful. Use NO_IDENT where necessary. malloc() comes from <stdlib.h> in standard systems * minor fix for resync of unified diffs checks for range (line beginning with '@' without header lines (successive lines beginning with "---" and "+++")
Diffstat (limited to 'textproc')
-rw-r--r--textproc/diffstat/Makefile5
-rw-r--r--textproc/diffstat/distinfo9
-rw-r--r--textproc/diffstat/patches/patch-aa13
3 files changed, 6 insertions, 21 deletions
diff --git a/textproc/diffstat/Makefile b/textproc/diffstat/Makefile
index f74d46fc44d..7326ebef13e 100644
--- a/textproc/diffstat/Makefile
+++ b/textproc/diffstat/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2006/03/04 21:30:45 jlam Exp $
-#
+# $NetBSD: Makefile,v 1.9 2006/05/08 06:22:51 snj Exp $
-DISTNAME= diffstat-1.34
+DISTNAME= diffstat-1.41
CATEGORIES= textproc
MASTER_SITES= ftp://invisible-island.net/diffstat/
EXTRACT_SUFX= .tgz
diff --git a/textproc/diffstat/distinfo b/textproc/diffstat/distinfo
index ccf7cd89663..e942594d523 100644
--- a/textproc/diffstat/distinfo
+++ b/textproc/diffstat/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 14:48:41 agc Exp $
+$NetBSD: distinfo,v 1.5 2006/05/08 06:22:51 snj Exp $
-SHA1 (diffstat-1.34.tgz) = 5a14769e35381fc3a6e784eddd4f7cb4621b46ec
-RMD160 (diffstat-1.34.tgz) = 9d00b1be21e81dd47acc90262732139a428eb3c4
-Size (diffstat-1.34.tgz) = 58633 bytes
-SHA1 (patch-aa) = 9d2cfa172259f31ecf8e7652ae7c38e8f1e05c41
+SHA1 (diffstat-1.41.tgz) = 75545e796ad6b2663170f21dc7d303d3487ad5d8
+RMD160 (diffstat-1.41.tgz) = b152a6061ea5500e969c65c7c8832decac2aa40a
+Size (diffstat-1.41.tgz) = 98321 bytes
diff --git a/textproc/diffstat/patches/patch-aa b/textproc/diffstat/patches/patch-aa
deleted file mode 100644
index b8ec438361f..00000000000
--- a/textproc/diffstat/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2004/11/10 16:18:29 epg Exp $
-
---- diffstat.c.orig 2003-11-09 13:45:00.000000000 -0500
-+++ diffstat.c
-@@ -117,8 +117,6 @@ extern int isatty();
-
- #ifdef HAVE_MALLOC_H
- #include <malloc.h>
--#else
--extern char *malloc();
- #endif
-
- #ifdef HAVE_GETOPT_H