[Pkg-voip-commits] r1124 - stun/trunk/debian/patches
Kilian Krause
kilian at costa.debian.org
Tue Jan 3 00:55:07 UTC 2006
Author: kilian
Date: 2006-01-03 00:55:06 +0000 (Tue, 03 Jan 2006)
New Revision: 1124
Modified:
stun/trunk/debian/patches/fix_non_i386.dpatch
Log:
really fix applying of the patch..
Modified: stun/trunk/debian/patches/fix_non_i386.dpatch
===================================================================
--- stun/trunk/debian/patches/fix_non_i386.dpatch 2006-01-03 00:49:25 UTC (rev 1123)
+++ stun/trunk/debian/patches/fix_non_i386.dpatch 2006-01-03 00:55:06 UTC (rev 1124)
@@ -6,8 +6,8 @@
@DPATCH@
diff -urNad stun-0.96~/stun.cxx stun-0.96/stun.cxx
--- stun-0.96~/stun.cxx 2005-08-14 00:39:03.000000000 +0000
-+++ stun-0.96/stun.cxx 2006-01-03 00:48:47.000000000 +0000
-@@ -669,17 +669,6 @@
++++ stun-0.96/stun.cxx 2006-01-03 00:54:33.000000000 +0000
+@@ -669,16 +669,8 @@
tick = hightick;
tick <<= 32;
tick |= lowtick;
@@ -19,9 +19,9 @@
- int fd=open("/dev/random",O_RDONLY);
- read(fd,&tick,sizeof(tick));
- closesocket(fd);
--#else
+ #else
-# error Need some way to seed the random number generator
--#endif
++ tick = time(NULL);
+ #endif
int seed = int(tick);
#ifdef WIN32
- srand(seed);
More information about the Pkg-voip-commits
mailing list