Browse Source

fixes for mbedtls

eden-orbis-ps4
lizzie 2 weeks ago
parent
commit
30f03fdaf8
  1. 13
      .patch/mbedtls/0003-openorbis.patch
  2. 3
      externals/cpmfile.json

13
.patch/mbedtls/0003-openorbis.patch

@ -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)

3
externals/cpmfile.json

@ -104,7 +104,8 @@
"skip_updates": true, "skip_updates": true,
"patches": [ "patches": [
"0001-aesni-fix.patch", "0001-aesni-fix.patch",
"0002-arm64-aes-fix.patch"
"0002-arm64-aes-fix.patch",
"0003-openorbis.patch"
] ]
}, },
"enet": { "enet": {

Loading…
Cancel
Save