Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-ac,v 1.3 2006/02/15 17:37:08 drochner Exp $
--- Packages/RNG/Src/ranf.c.orig 2005-04-03 14:23:06.000000000 +0200
+++ Packages/RNG/Src/ranf.c
@@ -148,12 +148,16 @@ void Mixranf(int *s,u32 s48[2])
s48[1] = (u32)clock_time;
#else
struct timeval tv;
+#if 0
struct timezone tz;
#if !defined(__sgi)
int gettimeofday(struct timeval *, struct timezone *);
#endif
(void)gettimeofday(&tv,&tz);
+#else
+ (void)gettimeofday(&tv,0);
+#endif
s48[0] = (u32)tv.tv_sec;
s48[1] = (u32)tv.tv_usec;
#endif /* !_WIN32 */