pkgsrc/math/py-Numeric/patches/patch-ac
drochner 8b9ec31abd update to 24.2
another "final release"
changes:
-__array_data__, __array_struct__ support
-some bugfixes
-Support array interface in objecttype function
-build system improvements

inofficial note:
The default indices of diagonal() and trace() changed, this causes
a selftest to fail. The default indices behaviour is documented, so
it seems that just the selftest is wrong. This only affects arrays with
more than 2 dimensions.
2006-02-15 17:37:08 +00:00

21 lines
536 B
Text

$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 */