environment similar to Visual Basic. So far, it compiles fine on NetBSD 3.0/i386, but the installation fails.
16 lines
516 B
Text
16 lines
516 B
Text
$NetBSD: patch-ad,v 1.1 2006/08/29 12:49:54 rillig Exp $
|
|
|
|
--- main/gbx/gbx_subr_math.c.orig 2006-03-14 00:33:07.000000000 +0100
|
|
+++ main/gbx/gbx_subr_math.c 2006-04-20 20:43:30.000000000 +0200
|
|
@@ -41,7 +41,11 @@
|
|
static MATH_FUNC MathFunc[] = {
|
|
NULL, frac, log, exp, sqrt, sin, cos, tan, atan, asin, acos,
|
|
deg, rad, log10, sinh, cosh, tanh, asinh, acosh, atanh,
|
|
+#if defined(OS_NETBSD)
|
|
+ cbrt, expm1, log1p
|
|
+#else
|
|
exp2, exp10, log2, cbrt, expm1, log1p
|
|
+#endif
|
|
};
|
|
|
|
static MATH_FUNC_2 MathFunc2[] = {
|