Fix apache for libxml-2.12.x

This commit is contained in:
Pierre Labastie 2023-12-07 16:48:48 +01:00
parent c0d8d48b0e
commit ae30a941e7

View File

@ -136,6 +136,9 @@ sed -e '/HTTPD_ROOT/s:${ap_prefix}:/etc/httpd:' \
-e '/AP_TYPES_CONFIG_FILE/s:${rel_sysconfdir}/::' \
-i configure &&
sed -e '/encoding.h/a # include <libxml/xmlstring.h>' \
-i modules/filters/mod_xml2enc.c &&
./configure --enable-authnz-fcgi \
--enable-layout=BLFS \
--enable-mods-shared="all cgi" \
@ -185,6 +188,15 @@ chown -v -R apache:apache /srv/www</userinput></screen>
modules, when instructed to do so.
</para>
<para>
<command>sed -e '/HTTPD_ROOT/s ...</command>: Fixes some paths.
</para>
<para>
<command>sed -e '/encoding.h/a ...</command>; Fix building against
libxml-2.12.x.
</para>
<para>
<parameter>--enable-authnz-fcgi</parameter>: Build FastCGI
authorizer-based authentication and authorization (mod_authnz_fcgi.so