pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/statist Make it compile on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/735659c1c6a6
branches:  trunk
changeset: 555887:735659c1c6a6
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Wed Mar 11 12:42:41 2009 +0000

description:
Make it compile on DragonFly.

diffstat:

 math/statist/distinfo         |   4 +++-
 math/statist/patches/patch-ab |  14 ++++++++++++++
 math/statist/patches/patch-ac |  20 ++++++++++++++++++++
 3 files changed, 37 insertions(+), 1 deletions(-)

diffs (55 lines):

diff -r d2aa92f07d7b -r 735659c1c6a6 math/statist/distinfo
--- a/math/statist/distinfo     Wed Mar 11 12:16:21 2009 +0000
+++ b/math/statist/distinfo     Wed Mar 11 12:42:41 2009 +0000
@@ -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 -r d2aa92f07d7b -r 735659c1c6a6 math/statist/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/statist/patches/patch-ab     Wed Mar 11 12:42:41 2009 +0000
@@ -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 -r d2aa92f07d7b -r 735659c1c6a6 math/statist/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/statist/patches/patch-ac     Wed Mar 11 12:42:41 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index