openbsd-ports/x11/kde4/libs/patches/patch-kjs_date_object_cpp
espie d32a2618f1 partial port of the kde4 beta.
this is totally experimental and not working yet !
it's in so that experimental people can look at it and play with it.
do not even think of building it if you don't know what you're doing.
2007-03-22 22:24:32 +00:00

15 lines
410 B
Plaintext

$OpenBSD: patch-kjs_date_object_cpp,v 1.1.1.1 2007/03/22 22:24:33 espie Exp $
--- kjs/date_object.cpp.orig Mon Feb 19 10:56:56 2007
+++ kjs/date_object.cpp Sat Feb 24 17:08:21 2007
@@ -1261,8 +1261,10 @@ static double parseDate(const UString &date)
double timeClip(double t)
{
+#if 0
if (!isfinite(t))
return NaN;
+#endif
double at = fabs(t);
if (at > 8.64E15)
return NaN;