summaryrefslogtreecommitdiff
path: root/math/xlispstat
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-08-01 05:22:38 +0000
committerhasso <hasso@pkgsrc.org>2009-08-01 05:22:38 +0000
commit051312ee955df5a25c21c7c0c255a3f8f14ffb47 (patch)
tree837cff791076ed39ca5a835b422dd344150b7d2a /math/xlispstat
parent81ec77d104c5b7545f50592acf9c9a7e138c98a1 (diff)
downloadpkgsrc-051312ee955df5a25c21c7c0c255a3f8f14ffb47.tar.gz
Make it build on recent DragonFly.
Diffstat (limited to 'math/xlispstat')
-rw-r--r--math/xlispstat/distinfo3
-rw-r--r--math/xlispstat/patches/patch-aa24
2 files changed, 26 insertions, 1 deletions
diff --git a/math/xlispstat/distinfo b/math/xlispstat/distinfo
index 9f151b2e9c8..ead4ab24723 100644
--- a/math/xlispstat/distinfo
+++ b/math/xlispstat/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2008/03/07 16:48:02 jlam Exp $
+$NetBSD: distinfo,v 1.5 2009/08/01 05:24:08 hasso Exp $
SHA1 (xlispstat-3-52-20.tar.gz) = a62c353ce136ba7111536457272fa20f82ae23e0
RMD160 (xlispstat-3-52-20.tar.gz) = 834442693df99692c80efd6149315639329379c4
Size (xlispstat-3-52-20.tar.gz) = 1527951 bytes
+SHA1 (patch-aa) = 90400468523e559e2405913e51dc9d46653a70e9
SHA1 (patch-ac) = 0d7a966ad49e0c4b0173792f2c26262bec65312b
SHA1 (patch-ad) = 832133137b104facbd90189e5dd163bb35ff9174
diff --git a/math/xlispstat/patches/patch-aa b/math/xlispstat/patches/patch-aa
new file mode 100644
index 00000000000..85afe1f0565
--- /dev/null
+++ b/math/xlispstat/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.3 2009/08/01 05:24:08 hasso Exp $
+
+--- lowess.c.orig 2000-11-25 01:17:38 +0200
++++ lowess.c 2009-07-31 00:39:55 +0300
+@@ -12,7 +12,9 @@
+ /* forward declarations */
+ static double pow2 P1H(double);
+ static double pow3 P1H(double x);
++#if !(defined(__DragonFly__) && __DragonFly_version >= 200204)
+ static double fmax P2H(double, double);
++#endif
+ static VOID sort P2H(double *, int);
+ static VOID lowest P11H(double *, double *, int, double, double *,
+ int, int, double *, int, double *, int *);
+@@ -20,7 +22,9 @@ static VOID lowest P11H(double *, double
+
+ static double pow2 P1C(double, x) { return(x * x); }
+ static double pow3 P1C(double, x) { return(x * x * x); }
++#if !(defined(__DragonFly__) && __DragonFly_version >= 200204)
+ static double fmax P2C(double, x, double, y) { return (x > y ? x : y); }
++#endif
+
+ int lowess P9C(double *, x, double *, y, int, n, double, f, int, nsteps, double, delta,
+ double *, ys, double *, rw, double *, res)