mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-02 06:19:00 +02:00
fixes for mbedtls
This commit is contained in:
parent
19c369e2ef
commit
2a85f45549
1 changed files with 13 additions and 0 deletions
13
.patch/mbedtls/0003-openorbis.patch
Normal file
13
.patch/mbedtls/0003-openorbis.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/library/entropy_poll.c b/library/entropy_poll.c
|
||||||
|
index 611768c..8950ee4 100644
|
||||||
|
--- a/library/entropy_poll.c
|
||||||
|
+++ b/library/entropy_poll.c
|
||||||
|
@@ -118,7 +118,7 @@ static int getrandom_wrapper(void *buf, size_t buflen, unsigned int flags)
|
||||||
|
*
|
||||||
|
* Documentation: https://netbsd.gw.com/cgi-bin/man-cgi?sysctl+7
|
||||||
|
*/
|
||||||
|
-#if (defined(__FreeBSD__) || defined(__NetBSD__)) && !defined(HAVE_GETRANDOM)
|
||||||
|
+#if (defined(__FreeBSD__) || defined(__NetBSD__)) && !defined(HAVE_GETRANDOM) && !defined(__OPENORBIS__)
|
||||||
|
#include <sys/param.h>
|
||||||
|
#include <sys/sysctl.h>
|
||||||
|
#if defined(KERN_ARND)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue