summaryrefslogtreecommitdiff
path: root/www/neowebscript/files/patch-warnings
diff options
context:
space:
mode:
Diffstat (limited to 'www/neowebscript/files/patch-warnings')
-rw-r--r--www/neowebscript/files/patch-warnings21
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,