summaryrefslogtreecommitdiff
path: root/sysutils/depot/patches
diff options
context:
space:
mode:
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();
+