summaryrefslogtreecommitdiff
path: root/math/nickle
diff options
context:
space:
mode:
authordrochner <drochner>2007-03-13 10:55:12 +0000
committerdrochner <drochner>2007-03-13 10:55:12 +0000
commit8d32aecbb237a8a786e85afdef8cecb71dd67c6b (patch)
treee92d51bc8060f618538d7be3b0b51b811f1c23a5 /math/nickle
parentf9a0c0e0256c6645908d449f98de38695ee6273a (diff)
downloadpkgsrc-8d32aecbb237a8a786e85afdef8cecb71dd67c6b.tar.gz
modify a fix (about signed integer overflow non-portability) so that
it matches the upstream version, to ease future updates (no functional change)
Diffstat (limited to 'math/nickle')
-rw-r--r--math/nickle/distinfo4
-rw-r--r--math/nickle/patches/patch-aa11
2 files changed, 3 insertions, 12 deletions
diff --git a/math/nickle/distinfo b/math/nickle/distinfo
index 07c924ac55b..55d1f041c33 100644
--- a/math/nickle/distinfo
+++ b/math/nickle/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/02/22 20:35:38 drochner Exp $
+$NetBSD: distinfo,v 1.2 2007/03/13 10:55:12 drochner Exp $
SHA1 (nickle-2.56.tar.gz) = f8672a60c41d21da2fe40eb12beafb485bf14211
RMD160 (nickle-2.56.tar.gz) = 29cb2473764d6d5f80466c1638729e30539da124
Size (nickle-2.56.tar.gz) = 399957 bytes
-SHA1 (patch-aa) = 93a35914f28cff0fb4cbdc1e0fb19efce99c95aa
+SHA1 (patch-aa) = a28227fc17d71fbfc9a588597ee868b0f662bba2
diff --git a/math/nickle/patches/patch-aa b/math/nickle/patches/patch-aa
index 1ffeb7e63ef..0b380a78286 100644
--- a/math/nickle/patches/patch-aa
+++ b/math/nickle/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/02/22 20:35:38 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2007/03/13 10:55:12 drochner Exp $
--- value.h.orig 2007-02-22 20:27:04.000000000 +0100
+++ value.h
@@ -17,12 +17,3 @@ $NetBSD: patch-aa,v 1.1.1.1 2007/02/22 20:35:38 drochner Exp $
/*
* An int fits in a 'nickle int' if the top two bits
* are the same. There are four initial values:
-@@ -328,7 +328,7 @@ extern ValueRep ForeignRep;
- *
- * So, the two 'naughty' ones end up with the high bit set
- */
--#define NICKLE_INT_CARRIED(r) (((r) + NICKLE_INT_SIGN) & NICKLE_INT_CARRY)
-+#define NICKLE_INT_CARRIED(r) (((unsigned)(r) + NICKLE_INT_SIGN) & NICKLE_INT_CARRY)
-
- #define MAX_NICKLE_INT ((int) ((unsigned) NICKLE_INT_SIGN - 1))
- #define MIN_NICKLE_INT (-MAX_NICKLE_INT - 1)