summaryrefslogtreecommitdiff
path: root/math/nickle/patches/patch-aa
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-07-17 19:46:30 +0000
committerdrochner <drochner@pkgsrc.org>2007-07-17 19:46:30 +0000
commit4b3d134dea7ba0c14926a53133ec5b0fcec833a8 (patch)
tree2dadd2a89642a5d8828cea8f12274efcb449326c /math/nickle/patches/patch-aa
parentf581128043612e5f12efc849d8b62ef4f4b25f36 (diff)
downloadpkgsrc-4b3d134dea7ba0c14926a53133ec5b0fcec833a8.tar.gz
update to 2.58
changes: * CCITT/ITU CRC-32 computation example * changed import PRNG to autoimport * get rid of archaic "v" print and scan functions * fixed signededness bug in integer carry calculation (which was patched in pkgsrc)
Diffstat (limited to 'math/nickle/patches/patch-aa')
-rw-r--r--math/nickle/patches/patch-aa19
1 files changed, 0 insertions, 19 deletions
diff --git a/math/nickle/patches/patch-aa b/math/nickle/patches/patch-aa
deleted file mode 100644
index 0b380a78286..00000000000
--- a/math/nickle/patches/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
-$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
-@@ -311,12 +311,12 @@ extern ValueRep ForeignRep;
- * Use all but one bit to hold immediate integer values
- */
- #define NICKLE_INT_BITS ((sizeof (int) * 8) - 1)
--#define NICKLE_INT_SIGN (1 << (NICKLE_INT_BITS - 1))
-+#define NICKLE_INT_SIGN (1U << (NICKLE_INT_BITS - 1))
- /*
- * this bit holds any overflow; when different from SIGN,
- * an addition/subtraction has overflowed
- */
--#define NICKLE_INT_CARRY (1 << NICKLE_INT_BITS)
-+#define NICKLE_INT_CARRY (1U << NICKLE_INT_BITS)
- /*
- * An int fits in a 'nickle int' if the top two bits
- * are the same. There are four initial values: