From 7009c6be73cdb1535c4e13bd86bbccb623cade87 Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Sun, 17 Dec 2023 14:25:51 +0100 Subject: [PATCH] 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 --- net/apache/Makefile | 2 +- .../patches/100_compile-fix-libxml2-2.12.x.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 net/apache/patches/100_compile-fix-libxml2-2.12.x.patch diff --git a/net/apache/Makefile b/net/apache/Makefile index 5005a233dd..9bbf890f6a 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 0000000000..c43bd52fdb --- /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__)