Package: mod-proxy-html
Severity: serious
Tags: patch

When trying to build 'mod-proxy-html', I get the following error:

/usr/bin/libtool --silent --mode=compile gcc -prefer-pic -pipe 
-I/usr/include/xmltok -I/usr/include/openssl -Wall -O2 
-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pipe -I/usr/include/xmltok 
-I/usr/include/openssl -Wall -O2 -pthread -I/usr/include/apache2  
-I/usr/include/apr-0   -I/usr/include/apr-0 -I/usr/include 
-I/usr/include/libxml2  -c -o mod_proxy_html.lo mod_proxy_html.c && touch 
mod_proxy_html.slo
mod_proxy_html.c:91: error: syntax error before 'regex_t'

With the attached patch, 'mod-proxy-html' can be compiled.

Regards
Andreas Jochens

diff -urN ../tmp-orig/mod-proxy-html-2.4.3/mod_proxy_html.c ./mod_proxy_html.c
--- ../tmp-orig/mod-proxy-html-2.4.3/mod_proxy_html.c   2004-11-23 
16:42:14.000000000 +0100
+++ ./mod_proxy_html.c  2005-03-03 16:25:39.592952862 +0100
@@ -50,6 +50,8 @@
        logging enabled.
 */
 
+#include <regex.h>
+
 #ifdef GO_FASTER
 #define VERBOSE(x)
 #else


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to