squid: fix compilation with libxml (refs #19099)
authorMichael Heimpold <mhei@heimpold.de>
Thu, 25 Aug 2022 06:20:45 +0000 (08:20 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 13 Feb 2024 13:54:57 +0000 (14:54 +0100)
commit154b271eb10a3c79c3b1eb71c023e5942b35d63a
treed9ed096ef8b5a6424046f948c00faa2184ce99e5
parent2219ac4fdeafe8e6dda06e17b3fbdca8264008ba
squid: fix compilation with libxml (refs #19099)

Add a patch which removes a call in Libxml2Parser.cc to 'xmlSetFeature'.
This function belongs to the 'depreciated' API part and is not
available in OpenWrt builds.

According to my understanding, this call can be removed safely since
it disables the feature "substitute entities" which is disabled by default.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 3ec47dc85cc4b191be1b2fee3195680343f770e1)
net/squid/patches/020-libxml-drop-xmlSetFeature.patch [new file with mode: 0644]