summaryrefslogtreecommitdiffstats
path: root/net-p2p/retroshare/files/patch-libretroshare-src-util-rsrandom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/retroshare/files/patch-libretroshare-src-util-rsrandom.cc')
-rw-r--r--net-p2p/retroshare/files/patch-libretroshare-src-util-rsrandom.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/retroshare/files/patch-libretroshare-src-util-rsrandom.cc b/net-p2p/retroshare/files/patch-libretroshare-src-util-rsrandom.cc
new file mode 100644
index 0000000..094e3ac
--- /dev/null
+++ b/net-p2p/retroshare/files/patch-libretroshare-src-util-rsrandom.cc
@@ -0,0 +1,11 @@
+--- libretroshare/src/util/rsrandom.cc~ 2011-07-05 00:59:39.000000000 +0200
++++ libretroshare/src/util/rsrandom.cc 2012-01-15 04:56:47.000000000 +0100
+@@ -13,7 +13,7 @@
+ #ifdef __APPLE__
+ static bool auto_seed = RSRandom::seed( (time(NULL) + pthread_mach_thread_np(pthread_self())*0x1293fe + (getpid()^0x113ef76b))^0x18e34a12 ) ;
+ #else
+- static bool auto_seed = RSRandom::seed( (time(NULL) + pthread_self()*0x1293fe + (getpid()^0x113ef76b))^0x18e34a12 ) ;
++// static bool auto_seed = RSRandom::seed( (time(NULL) + pthread_self()*0x1293fe + (getpid()^0x113ef76b))^0x18e34a12 ) ;
+ #endif
+ #endif
+ bool RSRandom::seed(uint32_t s)
OpenPOWER on IntegriCloud