squid: fix compilation with libxml (refs #19099) 19250/head
authorMichael Heimpold <mhei@heimpold.de>
Thu, 25 Aug 2022 06:20:45 +0000 (08:20 +0200)
committerMichael Heimpold <mhei@heimpold.de>
Thu, 25 Aug 2022 06:26:44 +0000 (08:26 +0200)
commit3ec47dc85cc4b191be1b2fee3195680343f770e1
tree6474da2c031ac665acac8de2a07bef74030057d7
parentf3a3184d3283334fd60498aba6b6bbcc246e3d55
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>
net/squid/patches/020-libxml-drop-xmlSetFeature.patch [new file with mode: 0644]