summaryrefslogtreecommitdiff
path: root/www/tclhttpd/files
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2003-04-24 17:01:19 +0000
committerMikhail Teterin <mi@FreeBSD.org>2003-04-24 17:01:19 +0000
commiteb69ee3b49c0c894cc54fd92f49db1c7994ec48c (patch)
tree970896ddd74f0f1bc1c0ab1d2aa42224b8ce23d6 /www/tclhttpd/files
parentOne gets rather spoiled with -current. The -stable's make(1) still does not (diff)
Upgrade from 3.3 to 3.4.2. Use tcl84 by default.
Diffstat (limited to 'www/tclhttpd/files')
-rw-r--r--www/tclhttpd/files/patch-tcl8446
1 files changed, 46 insertions, 0 deletions
diff --git a/www/tclhttpd/files/patch-tcl84 b/www/tclhttpd/files/patch-tcl84
new file mode 100644
index 000000000000..0d9b472f8fe0
--- /dev/null
+++ b/www/tclhttpd/files/patch-tcl84
@@ -0,0 +1,46 @@
+--- src/crypt.c Sat Feb 12 19:03:25 2000
++++ src/crypt.c Thu Apr 24 12:04:03 2003
+@@ -12,4 +12,9 @@
+
+ #include "tcl.h"
++
++#ifndef CONST84
++# define CONST84
++#endif
++
+ #ifndef _WIN32
+ #include "unistd.h"
+@@ -20,8 +25,4 @@
+ */
+
+-
+-static int Crypt_Cmd _ANSI_ARGS_((ClientData clientData,
+- Tcl_Interp *interp, int argc, char **argv));
+-
+ #undef TCL_STORAGE_CLASS
+ #define TCL_STORAGE_CLASS DLLEXPORT
+@@ -53,5 +54,5 @@
+ Tcl_Interp *interp; /* Current interpreter. */
+ int argc; /* Number of arguments. */
+- char **argv; /* Argument strings. */
++ CONST84 char *argv[]; /* Argument strings. */
+ {
+ char *result;
+--- src/setuid.c Tue Oct 6 20:12:11 1998
++++ src/setuid.c Thu Apr 24 12:03:18 2003
+@@ -8,4 +8,8 @@
+ #include <unistd.h>
+
++#ifndef CONST84
++# define CONST84
++#endif
++
+ /*
+ * SetuidCmd --
+@@ -19,5 +23,5 @@
+ */
+ int
+-SetuidCmd(ClientData data, Tcl_Interp *interp, int argc, char *argv[])
++SetuidCmd(ClientData data, Tcl_Interp *interp, int argc, CONST84 char *argv[])
+ {
+ int uid;