mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-30 08:38:43 +08:00
Merge branch 'remove_legacy_path_usage' into 'master'
libs/libsodium: Avoid usage of legacy scheme path format See merge request redox-os/cookbook!470
This commit is contained in:
commit
8ed22afa5b
@ -1,14 +0,0 @@
|
|||||||
--- a/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c 2018-06-03 07:26:17.413729023 +0200
|
|
||||||
+++ b/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c 2018-06-03 07:41:40.119390067 +0200
|
|
||||||
@@ -162,10 +162,7 @@
|
|
||||||
/* LCOV_EXCL_START */
|
|
||||||
struct stat st;
|
|
||||||
static const char *devices[] = {
|
|
||||||
-# ifndef USE_BLOCKING_RANDOM
|
|
||||||
- "/dev/urandom",
|
|
||||||
-# endif
|
|
||||||
- "/dev/random", NULL
|
|
||||||
+ "rand:", NULL
|
|
||||||
};
|
|
||||||
const char **device = devices;
|
|
||||||
int fd;
|
|
||||||
@ -1,9 +1,6 @@
|
|||||||
[source]
|
[source]
|
||||||
tar = "https://github.com/jedisct1/libsodium/archive/1.0.16.tar.gz"
|
tar = "https://github.com/jedisct1/libsodium/archive/1.0.16.tar.gz"
|
||||||
blake3 = "2482633f872c173f9a42e6badb44c3efb042e783e664fdf8b1046babfa2405e7"
|
blake3 = "2482633f872c173f9a42e6badb44c3efb042e783e664fdf8b1046babfa2405e7"
|
||||||
patches = [
|
|
||||||
"random.patch"
|
|
||||||
]
|
|
||||||
script = "./autogen.sh"
|
script = "./autogen.sh"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user