summaryrefslogtreecommitdiff
path: root/ham/dpbox
diff options
context:
space:
mode:
authorwulf <wulf>2000-09-25 16:21:01 +0000
committerwulf <wulf>2000-09-25 16:21:01 +0000
commit3429ae020a2a82ae516846a08b8413852739be11 (patch)
tree27d716d965e3e581b1727a35e9e53f2a56a02167 /ham/dpbox
parent905a8829bebf317e90f02f9803fb2e63382d453f (diff)
downloadpkgsrc-3429ae020a2a82ae516846a08b8413852739be11.tar.gz
Bugfixes that allow dpbox to build on netbsd-alpha platform
Diffstat (limited to 'ham/dpbox')
-rw-r--r--ham/dpbox/patches/patch-ab13
-rw-r--r--ham/dpbox/patches/patch-ac13
-rw-r--r--ham/dpbox/patches/patch-ad12
3 files changed, 38 insertions, 0 deletions
diff --git a/ham/dpbox/patches/patch-ab b/ham/dpbox/patches/patch-ab
new file mode 100644
index 00000000000..77fca8186d9
--- /dev/null
+++ b/ham/dpbox/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2000/09/25 16:21:01 wulf Exp $
+
+--- box_tim.c.orig Sun Sep 24 12:46:31 2000
++++ box_tim.c Sun Sep 24 07:54:48 2000
+@@ -1045,7 +1045,7 @@
+
+ /* tct is a counter with TICKSPERSEC Hz (at least 200) */
+
+-void box_timing2(long tct)
++void box_timing2(time_t tct)
+ {
+ static short lastbatchhour = -1;
+ static long ltc1 = 0;
diff --git a/ham/dpbox/patches/patch-ac b/ham/dpbox/patches/patch-ac
new file mode 100644
index 00000000000..27682462d7f
--- /dev/null
+++ b/ham/dpbox/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2000/09/25 16:21:01 wulf Exp $
+
+--- filesys.h.orig Sun Sep 24 12:46:31 2000
++++ filesys.h Sun Sep 24 07:41:32 2000
+@@ -177,7 +177,7 @@
+ extern void sfclose_x(short *handle, boolean delete_it);
+ extern void sfdelfile(char *name);
+ extern void sfdispfilelist(short x, dispfilelistproc outproc);
+-extern void chkopenfiles(long maxopen, char *fn); /* maxopen in sekunden */
++extern void chkopenfiles(time_t maxopen, char *fn); /* maxopen in sekunden */
+ extern short fmv_x(char *filea, char *fileb, boolean delete_source,
+ long start, long size, boolean was_rename);
+ extern boolean tas_lockfile(long waittime, long oldtime, char *name);
diff --git a/ham/dpbox/patches/patch-ad b/ham/dpbox/patches/patch-ad
new file mode 100644
index 00000000000..c23bb3a63c9
--- /dev/null
+++ b/ham/dpbox/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 2000/09/25 16:21:02 wulf Exp $
+
+--- md2md5.c.orig Sun Sep 24 12:46:31 2000
++++ md2md5.c Sun Sep 24 08:11:22 2000
+@@ -26,6 +26,7 @@
+ */
+
+ #include "md2md5.h"
++#include <string.h>
+
+ /* PROTOTYPES should be set to one if and only if the compiler supports
+ function argument prototyping.