diff options
author | miwi <miwi@FreeBSD.org> | 2007-06-14 14:10:05 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-06-14 14:10:05 +0800 |
commit | 3f6b89a1dc3bc770dfcba7f451593730a962266c (patch) | |
tree | 8ef3ddd8b4161f354b44ae10c31bb1ffba12d154 /www | |
parent | 4dd081721863377b44424dc227449ce330bc22e9 (diff) | |
download | freebsd-ports-gnome-3f6b89a1dc3bc770dfcba7f451593730a962266c.tar.gz freebsd-ports-gnome-3f6b89a1dc3bc770dfcba7f451593730a962266c.tar.zst freebsd-ports-gnome-3f6b89a1dc3bc770dfcba7f451593730a962266c.zip |
- Fix build with gcc 4.2
Submitted by: pointyhat via kris
Approved by: maintainer
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_cplusplus/files/patch-example__handler__test_handler.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/mod_cplusplus/files/patch-example__handler__test_handler.cpp b/www/mod_cplusplus/files/patch-example__handler__test_handler.cpp new file mode 100644 index 000000000000..f91a76231d2b --- /dev/null +++ b/www/mod_cplusplus/files/patch-example__handler__test_handler.cpp @@ -0,0 +1,11 @@ +--- example/handler/test_handler.cpp.orig Wed Jun 13 14:15:35 2007 ++++ example/handler/test_handler.cpp Wed Jun 13 14:26:38 2007 +@@ -18,7 +18,7 @@ + int TestHandler::handler(ApacheRequestRec *pRequest) + { + mHits++; +- pRequest->content_type("application/x-httpd-cgi"); ++ pRequest->content_type((char *)"application/x-httpd-cgi"); + pRequest->dump(); + pRequest->rprintf("BOO"); + ap_setup_client_block(pRequest->get_request_rec(), REQUEST_CHUNKED_ERROR); |