From 3815846d7b65728647522ac94633d29adcdb583e Mon Sep 17 00:00:00 2001 From: hasso Date: Wed, 11 Mar 2009 12:42:41 +0000 Subject: Make it compile on DragonFly. --- math/statist/distinfo | 4 +++- math/statist/patches/patch-ab | 14 ++++++++++++++ math/statist/patches/patch-ac | 20 ++++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 math/statist/patches/patch-ab create mode 100644 math/statist/patches/patch-ac (limited to 'math') 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 + #include +- +-extern int errno; ++#include + + #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 ++#include + + #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 -- cgit v1.2.3