From: Michael Heimpold Date: Sun, 17 Dec 2023 13:25:51 +0000 (+0100) Subject: apache: add compile fix for libxml-2.12.x X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7009c6be73cdb1535c4e13bd86bbccb623cade87;p=openwrt-packages.git apache: add compile fix for libxml-2.12.x libxml2 restructured includes, thus another include is now required otherwise build fails. Signed-off-by: Michael Heimpold --- diff --git a/net/apache/Makefile b/net/apache/Makefile index 5005a233d..9bbf890f6 100644 --- a/net/apache/Makefile +++ b/net/apache/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=apache PKG_VERSION:=2.4.57 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_NAME:=httpd PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.bz2 diff --git a/net/apache/patches/100_compile-fix-libxml2-2.12.x.patch b/net/apache/patches/100_compile-fix-libxml2-2.12.x.patch new file mode 100644 index 000000000..c43bd52fd --- /dev/null +++ b/net/apache/patches/100_compile-fix-libxml2-2.12.x.patch @@ -0,0 +1,10 @@ +--- a/modules/filters/mod_xml2enc.c ++++ b/modules/filters/mod_xml2enc.c +@@ -35,6 +35,7 @@ + #endif + + /* libxml2 */ ++#include + #include + + #if defined(__clang__)