apache: add compile fix for libxml-2.12.x
authorMichael Heimpold <mhei@heimpold.de>
Sun, 17 Dec 2023 13:25:51 +0000 (14:25 +0100)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 17 Dec 2023 17:49:22 +0000 (19:49 +0200)
libxml2 restructured includes, thus another include is now required
otherwise build fails.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
net/apache/Makefile
net/apache/patches/100_compile-fix-libxml2-2.12.x.patch [new file with mode: 0644]

index 5005a233dd059716e28cefc191907719271ea5cd..9bbf890f6a63d64dfc3a5454920895431f8f6487 100644 (file)
@@ -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 (file)
index 0000000..c43bd52
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/modules/filters/mod_xml2enc.c
++++ b/modules/filters/mod_xml2enc.c
+@@ -35,6 +35,7 @@
+ #endif
+ /* libxml2 */
++#include <libxml/xmlstring.h>
+ #include <libxml/encoding.h>
+ #if defined(__clang__)