summaryrefslogtreecommitdiff
path: root/sysutils/depot/patches
diff options
context:
space:
mode:
authoragc <agc>1998-02-12 17:12:03 +0000
committeragc <agc>1998-02-12 17:12:03 +0000
commit3ab8587f1a685e690634ae8faf8ac6e30ae7f0da (patch)
tree112f8de932b9015c5150f7aa4356acf2d1f3166a /sysutils/depot/patches
parent49f1602fde275946fd3b7ee06577adb78479fff8 (diff)
downloadpkgsrc-3ab8587f1a685e690634ae8faf8ac6e30ae7f0da.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();
+