summaryrefslogtreecommitdiff
path: root/math/snns
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-03 20:20:07 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-03 20:20:07 +0000
commitf5b63493f18f3c752f45229f4a73fbd821879cff (patch)
tree91d1118b4967b07c8bfbe0f12ffe9a3de4245dae /math/snns
parent42778d0c29069b9ce6b3b655a658e145fb7331b8 (diff)
downloadpkgsrc-f5b63493f18f3c752f45229f4a73fbd821879cff.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/distinfo4
-rw-r--r--math/snns/patches/patch-aa4
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