Package: libapache-mod-security Severity: serious Tags: patch When trying to build 'libapache-mod-security', 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 -c -o mod_security.lo mod_security.c && touch mod_security.slo mod_security.c:280: error: syntax error before 'regex_t' With the attached patch 'libapache-mod-security' can be compiled. Regards Andreas Jochens diff -urN ../tmp-orig/libapache-mod-security-1.8.4/apache2/mod_security.c ./apache2/mod_security.c --- ../tmp-orig/libapache-mod-security-1.8.4/apache2/mod_security.c 2004-07-29 13:25:34.000000000 +0200 +++ ./apache2/mod_security.c 2005-03-03 21:49:41.610284810 +0100 @@ -24,6 +24,7 @@ #include <stdlib.h> #include <string.h> #include <sys/stat.h> +#include <regex.h> #ifdef WIN32 #include <direct.h> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]