summaryrefslogtreecommitdiff
path: root/math/statist
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-03-11 12:42:41 +0000
committerhasso <hasso@pkgsrc.org>2009-03-11 12:42:41 +0000
commit031b1d515e61aa6f1bfb1aa193a35d5762ad6de5 (patch)
treebfa34d1b6a42c384b86af8fdf95df8d0597b0b11 /math/statist
parent5d7a5401130a87850cb2107357d693f17a2854a7 (diff)
downloadpkgsrc-031b1d515e61aa6f1bfb1aa193a35d5762ad6de5.tar.gz
Make it compile on DragonFly.
Diffstat (limited to 'math/statist')
-rw-r--r--math/statist/distinfo4
-rw-r--r--math/statist/patches/patch-ab14
-rw-r--r--math/statist/patches/patch-ac20
3 files changed, 37 insertions, 1 deletions
diff --git a/math/statist/distinfo b/math/statist/distinfo
index 07fdb4bb862..0952efe7456 100644
--- a/math/statist/distinfo
+++ b/math/statist/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 12:06:58 agc Exp $
+$NetBSD: distinfo,v 1.3 2009/03/11 12:42:41 hasso Exp $
SHA1 (statist-1.0.1.tar.gz) = 2900c58e730ecf93dfa3e15a881a1afca0cfdf20
RMD160 (statist-1.0.1.tar.gz) = 1c6b16fe2dfe74ccb6fe2bd3cd6846a5e17f8025
Size (statist-1.0.1.tar.gz) = 214635 bytes
SHA1 (patch-aa) = 6cfe11d15d888d042b97ad1470db1405aa7bc489
+SHA1 (patch-ab) = ff6424b96aa62bb79d9c6c12f01117d272d59bcd
+SHA1 (patch-ac) = 64ca31cb397cc5f732bdabec091279ec2ffd77a6
diff --git a/math/statist/patches/patch-ab b/math/statist/patches/patch-ab
new file mode 100644
index 00000000000..ee65e2658dd
--- /dev/null
+++ b/math/statist/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2009/03/11 12:42:41 hasso Exp $
+
+--- iodefs.c.orig 2009-03-11 14:18:05 +0200
++++ iodefs.c 2009-03-11 14:18:31 +0200
+@@ -11,8 +11,7 @@
+
+ #include<stdio.h>
+ #include<string.h>
+-
+-extern int errno;
++#include<errno.h>
+
+ #define FOPEN(name, mode, fp) \
+ if ((fp = fopen(name, mode))==NULL) { \
diff --git a/math/statist/patches/patch-ac b/math/statist/patches/patch-ac
new file mode 100644
index 00000000000..a9fafec258f
--- /dev/null
+++ b/math/statist/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1 2009/03/11 12:42:41 hasso Exp $
+
+--- statist.h.orig 2009-03-11 14:17:03 +0200
++++ statist.h 2009-03-11 14:17:45 +0200
+@@ -13,6 +13,7 @@
+ ***************************************************************/
+
+ #include <stdio.h>
++#include <errno.h>
+
+ #include "gettext.h"
+ #include "memory_handling.h"
+@@ -240,7 +241,6 @@ typedef struct {
+ } SORTREC;
+
+
+-extern int errno;
+ extern void mywait();
+ extern BOOLEAN myexist(char *name);
+ #ifdef STATIST_X