net-p2p/fms: Add patch for mbedtls-3, fixes bug 804960

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Thomas Sachau <tommy@gentoo.org>
This commit is contained in:
Thomas Sachau
2021-10-29 11:50:14 +02:00
parent 1691890636
commit 14cc2e7dc4
2 changed files with 16 additions and 1 deletions
@@ -0,0 +1,11 @@
--- /include/freenet/fcpv2.h 2016-06-04 18:16:06.000000000 +0200
+++ /include/freenet/fcpv2.h.new 2021-10-29 11:38:04.000000000 +0200
@@ -33,7 +33,7 @@
#endif
#ifdef FCP_SSL
- #include <mbedtls/net.h>
+ #include <mbedtls/net_sockets.h>
#include <mbedtls/ssl.h>
#include <mbedtls/ctr_drbg.h>
#include <mbedtls/entropy.h>
+5 -1
View File
@@ -35,7 +35,10 @@ BDEPEND="
virtual/libiconv
"
PATCHES=( "${FILESDIR}/${PN}-use-system-libs4.patch" )
PATCHES=(
"${FILESDIR}/${PN}-use-system-libs4.patch"
"${FILESDIR}/${P}-fix-for-mbedtls-3.patch"
)
DOCS=( "readme.txt" )
@@ -43,6 +46,7 @@ src_prepare() {
# Convert encoding due applied patch
edos2unix src/http/pages/showfilepage.cpp
edos2unix CMakeLists.txt
edos2unix include/freenet/fcpv2.h
# Remove bundled libs
rm -fr libs || die