Package: libapache2-mod-encoding
Severity: serious
Tags: patch

When trying to build 'libapache2-mod-encoding', 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_encoding.lo mod_encoding.c && touch mod_encoding.slo
mod_encoding.c: In function 'iconv_header':
mod_encoding.c:192: warning: implicit declaration of function 'apr_pstrdup'
mod_encoding.c:192: warning: assignment makes pointer from integer without a 
cast
mod_encoding.c:193: warning: passing argument 2 of 'ap_getword' from 
incompatible pointer type
mod_encoding.c:199: warning: implicit declaration of function 'apr_pstrcat'
mod_encoding.c:199: warning: passing argument 2 of 'ap_parse_uri' makes pointer 
from integer without a cast
mod_encoding.c: In function 'get_client_encoding':
mod_encoding.c:236: warning: assignment makes pointer from integer without a 
cast
mod_encoding.c:243: error: 'regex_t' undeclared (first use in this function)
mod_encoding.c:243: error: (Each undeclared identifier is reported only once
mod_encoding.c:243: error: for each function it appears in.)
mod_encoding.c:243: error: syntax error before ')' token

With the attached patch 'libapache2-mod-encoding' can be compiled.

Regards
Andreas Jochens

diff -urN ../tmp-orig/libapache2-mod-encoding-20040616/mod_encoding.c 
./mod_encoding.c
--- ../tmp-orig/libapache2-mod-encoding-20040616/mod_encoding.c 2004-06-15 
17:52:25.000000000 +0200
+++ ./mod_encoding.c    2005-03-03 21:46:34.162465697 +0100
@@ -68,6 +68,7 @@
 
 */
 
+#include <regex.h>
 #include <httpd.h>
 #include <http_config.h>
 #include <http_core.h>


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

Reply via email to