diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2010-01-19 05:43:57 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2010-01-19 05:43:57 +0000 |
commit | 8e6385511cb1556770d4be4dc1b036cf62472652 (patch) | |
tree | 4f01aae87c36eda61127e3da5ddfdc558f2b8d62 /www/neowebscript/files/patch-warnings | |
parent | Convert to the USE_TCL. Bump PORTREVISION. (diff) |
Allow use of Tcl-8.5 in both tcl-neo and neowebscript (its the former's primary
consumer). Clean up another ton of warnings (to the level of WARNS=3 in tcl-neo
and WARNS=2 in neowebscript).
Update the installation of neowebscript.conf so as to not overwrite the existing
version, if any.
Notes
Notes:
svn path=/head/; revision=248131
Diffstat (limited to 'www/neowebscript/files/patch-warnings')
-rw-r--r-- | www/neowebscript/files/patch-warnings | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www/neowebscript/files/patch-warnings b/www/neowebscript/files/patch-warnings new file mode 100644 index 000000000000..070f94bfa9e3 --- /dev/null +++ b/www/neowebscript/files/patch-warnings @@ -0,0 +1,21 @@ +--- mod_neo_userdir.c 1999-11-19 19:35:28.000000000 -0500 ++++ mod_neo_userdir.c 2010-01-17 15:02:59.000000000 -0500 +@@ -60,7 +60,8 @@ + */ + +-#include "httpd.h" +-#include "http_config.h" +-#include "ap_compat.h" ++#include <httpd.h> ++#include <http_config.h> ++#include <http_log.h> ++#include <ap_compat.h> + + #include "tcl.h" +@@ -306,5 +306,5 @@ + extern Tcl_Interp *interp; + int code; +- char *where; ++ const char *where; + code = Tcl_VarEval(interp, userdir+1, " ", pw->pw_name, " ", + pw->pw_dir, " {", pw->pw_gecos, "} {", dname+1, |