diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-03 20:20:07 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-03 20:20:07 +0000 |
commit | ac74f225a0870ada7fd2b8545a8ca611c0c02005 (patch) | |
tree | 91d1118b4967b07c8bfbe0f12ffe9a3de4245dae /math/snns | |
parent | f5513c75b7fdfd7683a9fb2197bc054bc9e97d9c (diff) | |
download | pkgsrc-ac74f225a0870ada7fd2b8545a8ca611c0c02005.tar.gz |
MAXINT and MAXSHORT don't exist on FreeBSD and DragonFly, so use
same patch there.
Diffstat (limited to 'math/snns')
-rw-r--r-- | math/snns/distinfo | 4 | ||||
-rw-r--r-- | math/snns/patches/patch-aa | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/math/snns/distinfo b/math/snns/distinfo index e587ea16b47..a97b8ec7f8d 100644 --- a/math/snns/distinfo +++ b/math/snns/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 12:06:58 agc Exp $ +$NetBSD: distinfo,v 1.4 2006/01/03 20:20:07 joerg Exp $ SHA1 (SNNSv4.2.tar.gz) = ccdb91681e43bce68c90558bbf103e7f6417e3fc RMD160 (SNNSv4.2.tar.gz) = c27cb08d8838732aea76dc7315fd691d0c9bfb1c Size (SNNSv4.2.tar.gz) = 2170375 bytes -SHA1 (patch-aa) = eade9e14cbf65fa45cd06d84f15a64751c9f2adf +SHA1 (patch-aa) = 805db03fe9d0a00d9d5318f17487a1d4607ac8a7 SHA1 (patch-ab) = abbd8f6c7c0d3c97d1064a9910ce884e05c65b8c SHA1 (patch-ac) = 5b9b47c9ebc0de28768bfecc85b57278abda5cdd diff --git a/math/snns/patches/patch-aa b/math/snns/patches/patch-aa index 87b7e9aa8a8..85e751bf8bc 100644 --- a/math/snns/patches/patch-aa +++ b/math/snns/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/06/28 15:18:05 wulf Exp $ +$NetBSD: patch-aa,v 1.2 2006/01/03 20:20:08 joerg Exp $ --- kernel/sources/kr_typ.h.orig Wed Jun 27 19:38:31 2001 +++ kernel/sources/kr_typ.h Wed Jun 27 19:44:26 2001 @@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/06/28 15:18:05 wulf Exp $ #################################################*/ -+#ifdef __NetBSD__ ++#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__) +#include <limits.h> +#define MAXSHORT USHRT_MAX +#define MAXINT INT_MAX |