summaryrefslogtreecommitdiff
path: root/sysutils/depot/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-02-12 17:12:03 +0000
committeragc <agc@pkgsrc.org>1998-02-12 17:12:03 +0000
commit7a72eb69165690feb1925033036c17bd5c441825 (patch)
tree112f8de932b9015c5150f7aa4356acf2d1f3166a /sysutils/depot/patches
parent27305e22c1f32e86a146f131ca4b10cb096d8ca8 (diff)
downloadpkgsrc-7a72eb69165690feb1925033036c17bd5c441825.tar.gz
Import of the CMU depot 5.14 utility, for managing directory
trees of symbolic links, to the NetBSD packages collection. This package was done by Todd Vierling, in PR pkg/4975. Minor modification to the patch by me to generalise for other BSD systems.
Diffstat (limited to 'sysutils/depot/patches')
-rw-r--r--sysutils/depot/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/depot/patches/patch-aa b/sysutils/depot/patches/patch-aa
new file mode 100644
index 00000000000..2de9d74e5e5
--- /dev/null
+++ b/sysutils/depot/patches/patch-aa
@@ -0,0 +1,15 @@
+--- src/lib/DepotDB/DepotDB_Write.c.orig Tue Feb 10 18:54:48 1998
++++ src/lib/DepotDB/DepotDB_Write.c Tue Feb 10 18:55:52 1998
+@@ -45,6 +45,12 @@
+ #include "CollectionList.h"
+ #include "DepotDB.h"
+
++#include <sys/param.h>
++
++#if (defined(BSD) && BSD >= 199306)
++#include <limits.h>
++#define MAXLONG LONG_MAX
++#endif
+
+ static int DepotDB_LongSkipSize();
+