- SHARED_LIBS and PKGNAME bumps for libm.
- Add workaround for lack of extended-precision, from martynas@. Fixes the build. XXX - to be removed later.
This commit is contained in:
parent
4cfe210fa7
commit
62d6cd3986
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2007/09/16 02:52:59 merdely Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2008/07/29 00:17:01 sthen Exp $
|
||||
|
||||
COMMENT= GNU Scientific Library
|
||||
|
||||
DISTNAME= gsl-1.8
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
SHARED_LIBS += gslcblas 0.0 # .0.0
|
||||
SHARED_LIBS += gsl 9.0 # .9.0
|
||||
SHARED_LIBS += gsl 10.0 # .9.0
|
||||
|
||||
CATEGORIES= devel
|
||||
|
||||
|
13
devel/gsl/patches/patch-gsl_math_h
Normal file
13
devel/gsl/patches/patch-gsl_math_h
Normal file
@ -0,0 +1,13 @@
|
||||
$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)
|
Loading…
Reference in New Issue
Block a user