summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-04-01 00:04:43 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-04-01 00:04:43 +0000
commit7efd5d52880e6c14e4bb3f7212e7f064b7fdee27 (patch)
tree33d6dc30b9b0d50927e8d9c558bf38068b64e971 /net
parent3b50c8daef9a7d86d73566ad42063934514e0fc1 (diff)
downloadpkgsrc-7efd5d52880e6c14e4bb3f7212e7f064b7fdee27.tar.gz
fix for LP64 systems. Mostly just adding missing header files.
Diffstat (limited to 'net')
-rw-r--r--net/yale-tftpd/distinfo7
-rw-r--r--net/yale-tftpd/patches/patch-ae11
-rw-r--r--net/yale-tftpd/patches/patch-af12
-rw-r--r--net/yale-tftpd/patches/patch-ag12
-rw-r--r--net/yale-tftpd/patches/patch-ah14
-rw-r--r--net/yale-tftpd/patches/patch-ai63
6 files changed, 118 insertions, 1 deletions
diff --git a/net/yale-tftpd/distinfo b/net/yale-tftpd/distinfo
index 802b861610e..8bbf3e0e43f 100644
--- a/net/yale-tftpd/distinfo
+++ b/net/yale-tftpd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/07/30 19:43:49 nra Exp $
+$NetBSD: distinfo,v 1.2 2002/04/01 00:04:43 dmcmahill Exp $
SHA1 (yale-tftpd-3.0.tar.gz) = 5f87e3d37feb5c5c8b7f2db34a0c87ee537727af
Size (yale-tftpd-3.0.tar.gz) = 33469 bytes
@@ -6,3 +6,8 @@ SHA1 (patch-aa) = a61c860d4ee1088a4b5b3e8976e6f042d57dae94
SHA1 (patch-ab) = e6eb66ed95139b47ee1df07014a636803e89ad47
SHA1 (patch-ac) = eb748d6a96e50475acb7acd6f38e4552972d73f5
SHA1 (patch-ad) = 1743282699af3a17e4e95c825ad4989688349cd6
+SHA1 (patch-ae) = 0b431f5a4f769dbc560fc55231ea2cf478616987
+SHA1 (patch-af) = c6815c58d6ce91dbe0478cbb4fcf0c01126b3c4a
+SHA1 (patch-ag) = 7e14bea74c2d94222cc5f13b03b7735fbe442487
+SHA1 (patch-ah) = 623a09bbb11ae354007cd90e55a98dea3555ec68
+SHA1 (patch-ai) = c183d7b8530322566710000ee7885a6fd8db3480
diff --git a/net/yale-tftpd/patches/patch-ae b/net/yale-tftpd/patches/patch-ae
new file mode 100644
index 00000000000..52f691069b3
--- /dev/null
+++ b/net/yale-tftpd/patches/patch-ae
@@ -0,0 +1,11 @@
+$NetBSD: patch-ae,v 1.1 2002/04/01 00:04:43 dmcmahill Exp $
+
+--- classes/access.c.orig Wed Oct 5 01:20:44 1994
++++ classes/access.c
+@@ -1,4 +1,6 @@
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <ctype.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
diff --git a/net/yale-tftpd/patches/patch-af b/net/yale-tftpd/patches/patch-af
new file mode 100644
index 00000000000..33d7b43bba3
--- /dev/null
+++ b/net/yale-tftpd/patches/patch-af
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1 2002/04/01 00:04:44 dmcmahill Exp $
+
+--- classes/config.c.orig Wed Oct 5 01:18:21 1994
++++ classes/config.c
+@@ -1,6 +1,7 @@
+ #define CLASS_Config_PRIVATE
+ #include "config.h"
+
++#include <stdlib.h>
+ #include <strings.h>
+ #include <ctype.h>
+
diff --git a/net/yale-tftpd/patches/patch-ag b/net/yale-tftpd/patches/patch-ag
new file mode 100644
index 00000000000..f581beb67ea
--- /dev/null
+++ b/net/yale-tftpd/patches/patch-ag
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1 2002/04/01 00:04:44 dmcmahill Exp $
+
+--- classes/dict.c.orig Wed Oct 5 01:20:48 1994
++++ classes/dict.c
+@@ -14,6 +14,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <strings.h>
+ extern char* strdup();
+ extern int strcasecmp();
diff --git a/net/yale-tftpd/patches/patch-ah b/net/yale-tftpd/patches/patch-ah
new file mode 100644
index 00000000000..91d8abd4c6d
--- /dev/null
+++ b/net/yale-tftpd/patches/patch-ah
@@ -0,0 +1,14 @@
+$NetBSD: patch-ah,v 1.1 2002/04/01 00:04:44 dmcmahill Exp $
+
+--- classes/fuzzdict.c.orig Wed Oct 5 01:18:22 1994
++++ classes/fuzzdict.c
+@@ -4,6 +4,9 @@
+ * unique prefix. Need to find a better name.
+ */
+
++#include <stdlib.h>
++#include <string.h>
++
+ #define _CLASS_FuzzDict_PRIVATE_
+ #include "fuzzdict.h"
+
diff --git a/net/yale-tftpd/patches/patch-ai b/net/yale-tftpd/patches/patch-ai
new file mode 100644
index 00000000000..36da10dffab
--- /dev/null
+++ b/net/yale-tftpd/patches/patch-ai
@@ -0,0 +1,63 @@
+$NetBSD: patch-ai,v 1.1 2002/04/01 00:04:44 dmcmahill Exp $
+
+--- tftpyale.c.orig Mon Mar 20 15:11:11 1995
++++ tftpyale.c
+@@ -95,7 +95,7 @@
+ int ac;
+ char** av;
+ {
+- int list;
++ long list;
+
+ ac--; av++;
+ if (ac != 2) {
+@@ -104,7 +104,7 @@
+ }
+
+ /* get list number */
+- list = atoi (av[1]);
++ list = atol (av[1]);
+ if (list <= 0) {
+ accessFormatError = "list argument not positive integer";
+ return 0;
+@@ -157,11 +157,11 @@
+ * qualified (starts with '/') check to see if the
+ * prefix matches the default directory.
+ */
+-static int
++static long
+ getAccessList (fileName)
+ char* fileName;
+ {
+- unsigned int list;
++ unsigned long list;
+ char* rindex();
+
+ if (*fileName == '/') {
+@@ -177,7 +177,7 @@
+ }
+ }
+
+- list = (int)dict_find (fileAccessDict, fileName);
++ list = (long)dict_find (fileAccessDict, fileName);
+
+ return list ? list : defaultAccessList;
+ }
+@@ -269,7 +269,7 @@
+ continue;
+
+ cargv = config_fields(cnf);
+- switch ((int)dict_find (commandDict, cargv[0])) {
++ switch ((long)dict_find (commandDict, cargv[0])) {
+ /* specify default directory */
+ case CMD_DEFAULT_DIR:
+ if (cargc != 2)
+@@ -481,7 +481,7 @@
+
+ static struct CMDS {
+ char* cmdName;
+- int cmdVal;
++ long cmdVal;
+ } configCmds[] ={
+ "default-directory", CMD_DEFAULT_DIR,
+ "defaultDirectory", CMD_DEFAULT_DIR,