summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lisp/xlispstat/files/xlispstat-3.52.20-fmax.patch')
-rw-r--r--dev-lisp/xlispstat/files/xlispstat-3.52.20-fmax.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-lisp/xlispstat/files/xlispstat-3.52.20-fmax.patch b/dev-lisp/xlispstat/files/xlispstat-3.52.20-fmax.patch
new file mode 100644
index 000000000000..50ff409b663e
--- /dev/null
+++ b/dev-lisp/xlispstat/files/xlispstat-3.52.20-fmax.patch
@@ -0,0 +1,23 @@
+Source: DragonFlyBSD
+
+diff -ur xlispstat-3-52-20.orig/lowess.c xlispstat-3-52-20/lowess.c
+--- xlispstat-3-52-20.orig/lowess.c 2000-11-25 01:17:38.000000000 +0200
++++ xlispstat-3-52-20/lowess.c 2009-08-10 19:34:54.000000000 +0300
+@@ -12,7 +12,7 @@
+ /* forward declarations */
+ static double pow2 P1H(double);
+ static double pow3 P1H(double x);
+-static double fmax P2H(double, double);
++/* static double fmax P2H(double, double); */
+ static VOID sort P2H(double *, int);
+ static VOID lowest P11H(double *, double *, int, double, double *,
+ int, int, double *, int, double *, int *);
+@@ -20,7 +20,7 @@
+
+ static double pow2 P1C(double, x) { return(x * x); }
+ static double pow3 P1C(double, x) { return(x * x * x); }
+-static double fmax P2C(double, x, double, y) { return (x > y ? x : y); }
++/* static double fmax P2C(double, x, double, y) { return (x > y ? x : y); } */
+
+ int lowess P9C(double *, x, double *, y, int, n, double, f, int, nsteps, double, delta,
+ double *, ys, double *, rw, double *, res)