summaryrefslogtreecommitdiff
path: root/devel/xulrunner/patches/patch-nsprpub_pr_src_md_unix_uxrng.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/xulrunner/patches/patch-nsprpub_pr_src_md_unix_uxrng.c')
-rw-r--r--devel/xulrunner/patches/patch-nsprpub_pr_src_md_unix_uxrng.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/xulrunner/patches/patch-nsprpub_pr_src_md_unix_uxrng.c b/devel/xulrunner/patches/patch-nsprpub_pr_src_md_unix_uxrng.c
new file mode 100644
index 00000000000..bc041cdafec
--- /dev/null
+++ b/devel/xulrunner/patches/patch-nsprpub_pr_src_md_unix_uxrng.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-nsprpub_pr_src_md_unix_uxrng.c,v 1.1 2012/01/07 18:47:39 marino Exp $
+
+--- nsprpub/pr/src/md/unix/uxrng.c.orig 2011-09-02 20:15:44.000000000 +0000
++++ nsprpub/pr/src/md/unix/uxrng.c
+@@ -126,7 +126,7 @@ GetHighResClock(void *buf, size_t maxbyt
+
+ #elif (defined(LINUX) || defined(FREEBSD) || defined(__FreeBSD_kernel__) \
+ || defined(NETBSD) || defined(__NetBSD_kernel__) || defined(OPENBSD) \
+- || defined(SYMBIAN))
++ || defined(SYMBIAN)) || defined(__DragonFly__)
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>