From 7ccf9721cb404fba4299167fa89fb1b2f2cdd2d2 Mon Sep 17 00:00:00 2001 From: hubertf Date: Thu, 14 Dec 2000 01:10:42 +0000 Subject: Aparently a directory tree can only be 8 directories deep on VMS. It seems if you goof up enough it's no problem do ending with >80 on Unix. Make xdu deal with this properly. Bump version to 3.0nb1 --- sysutils/xdu/Makefile | 3 ++- sysutils/xdu/files/patch-sum | 3 +++ sysutils/xdu/patches/patch-aa | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 sysutils/xdu/files/patch-sum create mode 100644 sysutils/xdu/patches/patch-aa (limited to 'sysutils/xdu') diff --git a/sysutils/xdu/Makefile b/sysutils/xdu/Makefile index 1e063bdf56a..7fa2b1b5ad7 100644 --- a/sysutils/xdu/Makefile +++ b/sysutils/xdu/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/09/20 20:48:07 hubertf Exp $ +# $NetBSD: Makefile,v 1.2 2000/12/14 01:10:42 hubertf Exp $ # DISTNAME= xdu-3.0 +PKGNAME= xdu-3.0nb1 CATEGORIES= sysutils x11 MASTER_SITES= ftp://ftp.arl.mil/pub/ EXTRACT_SUFX= .tar.Z diff --git a/sysutils/xdu/files/patch-sum b/sysutils/xdu/files/patch-sum new file mode 100644 index 00000000000..2616c386343 --- /dev/null +++ b/sysutils/xdu/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1 2000/12/14 01:10:43 hubertf Exp $ + +MD5 (patch-aa) = 9d346838f1af4311d06aead14672cc40 diff --git a/sysutils/xdu/patches/patch-aa b/sysutils/xdu/patches/patch-aa new file mode 100644 index 00000000000..150a2de7a6c --- /dev/null +++ b/sysutils/xdu/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1 2000/12/14 01:10:43 hubertf Exp $ + +--- xdu.c.orig Wed Dec 13 23:18:33 2000 ++++ xdu.c +@@ -24,8 +24,8 @@ + + extern char *malloc(), *calloc(); + +-#define MAXDEPTH 80 /* max elements in a path */ +-#define MAXNAME 1024 /* max pathname element length */ ++#define MAXDEPTH 1024 /* max elements in a path */ ++#define MAXNAME 4096 /* max pathname element length */ + #define MAXPATH 4096 /* max total pathname length */ + #define NCOLS 5 /* default number of columns in display */ + -- cgit v1.2.3