openbsd-ports/devel/gsl/patches/patch-gsl_math_h
sthen 62d6cd3986 - SHARED_LIBS and PKGNAME bumps for libm.
- Add workaround for lack of extended-precision, from martynas@.
Fixes the build.  XXX - to be removed later.
2008-07-29 00:17:01 +00:00

14 lines
362 B
Plaintext

$OpenBSD: patch-gsl_math_h,v 1.1 2008/07/29 00:17:01 sthen Exp $
--- gsl_math.h.orig Sun Jun 26 16:25:34 2005
+++ gsl_math.h Sat Jul 26 16:45:05 2008
@@ -107,6 +107,9 @@
__BEGIN_DECLS
+/* we don't have extended-precision yet */
+#define __isnanl(e) (__isnan((double)e))
+
/* other needlessly compulsive abstractions */
#define GSL_IS_ODD(n) ((n) & 1)