1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/www/websh/files/patch-apache2.4
Mikhail Teterin cb1aab0fd8 Add patches to build and work with Apache-2.4 (which
has special requrements for users of ap_log_error())
and Tcl-8.6 (which uses -fvisibility=hidden if it can).

No functional changes for those, who were able to build
before, thus no PORTREVISION bump (I wish, previous
committer followed this rule too).
2013-08-03 22:28:37 +00:00

16 lines
433 B
Groff

--- ../../src/generic/mod_websh.h 2005-12-12 12:13:55.000000000 -0500
+++ ../../src/generic/mod_websh.h 2013-08-03 16:46:07.000000000 -0400
@@ -30,4 +30,12 @@
#include "util_script.h"
+/*
+ * This is required for Apache-2.4 -- see:
+ * http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html
+ */
+#ifdef APLOG_USE_MODULE
+APLOG_USE_MODULE(websh);
+#endif
+
/* define APACHE2 if appropriate */
#ifdef AP_SERVER_BASEREVISION