Since the mbedtls bump to v3.6 [1] the shadowsocks-libev package is failling on the autobuilder: ``` checking for mbedtls_cipher_setup in -lmbedcrypto... yes checking whether mbedtls supports Cipher Feedback mode or not... configure: error: MBEDTLS_CIPHER_MODE_CFB required make: *** [package/pkg-generic.mk:263: /workdir/instance-0/output-1/build/shadowsocks-libev-3.3.5/.stamp_configured] Error 1 make: Leaving directory '/workdir/instance-0/buildroot' ``` This is due to the breaking changes in the mbedtls API with the version bump. This patch adds the upstream patch [2] that address this issue by verifying conditionally the version of mbedtls we are running on to make the API calls and includes. [1]3481a9643fpackage/mbedtls: bump to version 3.6.3.1 [2] https://github.com/shadowsocks/shadowsocks-libev/commit/9afa3cacf947f910be46b69fc5a7a1fdd02fd5e6# Fixes: https://autobuild.buildroot.org/results/070/070581d95f2739cee3b4cb8252639dd92b5a8421 Signed-off-by: Thomas Perale <thomas.perale@mind.be> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit78198bc0f3) Signed-off-by: Thomas Perale <thomas.perale@mind.be>