summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-third__party_rust_getrandom_src_lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/patches/patch-third__party_rust_getrandom_src_lib.rs')
-rw-r--r--www/firefox/patches/patch-third__party_rust_getrandom_src_lib.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/www/firefox/patches/patch-third__party_rust_getrandom_src_lib.rs b/www/firefox/patches/patch-third__party_rust_getrandom_src_lib.rs
deleted file mode 100644
index e19c45c6306..00000000000
--- a/www/firefox/patches/patch-third__party_rust_getrandom_src_lib.rs
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-third__party_rust_getrandom_src_lib.rs,v 1.1 2020/06/23 17:38:50 nia Exp $
-
-https://github.com/rust-random/getrandom/pull/115
-
---- third_party/rust/getrandom/src/lib.rs.orig 2020-06-02 23:37:31.000000000 +0000
-+++ third_party/rust/getrandom/src/lib.rs
-@@ -17,7 +17,7 @@
- //! | macOS, iOS | [`SecRandomCopyBytes`][4]
- //! | FreeBSD | [`kern.arandom`][5]
- //! | OpenBSD, Bitrig | [`getentropy`][6]
--//! | NetBSD | [`/dev/urandom`][7] after reading from `/dev/random` once
-+//! | NetBSD | [`kern.arandom`][5]
- //! | Dragonfly BSD | [`/dev/random`][8]
- //! | Solaris, illumos | [`getrandom`][9] system call if available, otherwise [`/dev/random`][10]
- //! | Fuchsia OS | [`cprng_draw`][11]
-@@ -184,7 +184,7 @@ mod_use!(cfg(target_os = "illumos"), sol
- mod_use!(cfg(target_os = "ios"), macos);
- mod_use!(cfg(target_os = "linux"), linux_android);
- mod_use!(cfg(target_os = "macos"), macos);
--mod_use!(cfg(target_os = "netbsd"), use_file);
-+mod_use!(cfg(target_os = "netbsd"), freebsd);
- mod_use!(cfg(target_os = "openbsd"), openbsd_bitrig);
- mod_use!(cfg(target_os = "redox"), use_file);
- mod_use!(cfg(target_os = "solaris"), solaris_illumos);