summaryrefslogtreecommitdiffstats
path: root/recipes/mozilla/nss-3.12/25_entropy.dpatch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mozilla/nss-3.12/25_entropy.dpatch')
-rw-r--r--recipes/mozilla/nss-3.12/25_entropy.dpatch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/mozilla/nss-3.12/25_entropy.dpatch b/recipes/mozilla/nss-3.12/25_entropy.dpatch
new file mode 100644
index 0000000000..7453929eb0
--- /dev/null
+++ b/recipes/mozilla/nss-3.12/25_entropy.dpatch
@@ -0,0 +1,16 @@
+Index: mozilla/security/nss/lib/freebl/unix_rand.c
+===================================================================
+--- mozilla.orig/security/nss/lib/freebl/unix_rand.c 2008-07-23 20:20:15.000000000 +0200
++++ mozilla/security/nss/lib/freebl/unix_rand.c 2008-07-23 20:20:18.000000000 +0200
+@@ -888,7 +888,11 @@
+ /* Fork netstat to collect its output by default. Do not unset this unless
+ * another source of entropy is available
+ */
++#ifndef LINUX
+ #define DO_NETSTAT 1
++#else
++#undef DO_NETSTAT
++#endif
+
+ void RNG_SystemInfoForRNG(void)
+ {