mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
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:
@@ -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>
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user