altarch-user / rpms / httpd

Forked from rpms/httpd 2 years ago
Clone

Blame SOURCES/httpd-2.4.6-http-protocol-options-define.patch

008793
diff --git a/server/main.c b/server/main.c
008793
index 28d1872..544882d 100644
008793
--- a/server/main.c
008793
+++ b/server/main.c
008793
@@ -478,6 +478,12 @@ int main(int argc, const char * const argv[])
008793
     ap_server_post_read_config = apr_array_make(pcommands, 1, sizeof(char *));
008793
     ap_server_config_defines   = apr_array_make(pcommands, 1, sizeof(char *));
008793
 
008793
+    {
008793
+       char **new = (char **)apr_array_push(ap_server_config_defines);
008793
+ 
008793
+       *new = "_RH_HAS_HTTPPROTOCOLOPTIONS";
008793
+    }
008793
+
008793
     error = ap_setup_prelinked_modules(process);
008793
     if (error) {
008793
         ap_log_error(APLOG_MARK, APLOG_STARTUP|APLOG_EMERG, 0, NULL, APLOGNO(00012)