openbsd-ports/x11/kde4/libs/patches/patch-kjs_math_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

16 lines
388 B
Plaintext

$OpenBSD: patch-kjs_math_object_cpp,v 1.1.1.1 2007/03/22 22:24:33 espie Exp $
--- kjs/math_object.cpp.orig Wed Aug 23 13:26:53 2006
+++ kjs/math_object.cpp Wed Aug 23 13:28:00 2006
@@ -47,6 +47,11 @@ static __inline int signbit(double x)
#endif
+static __inline int signbit(double x)
+{
+ return x < 0.0;
+}
+
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* M_PI */