diff options
author | jtb <jtb@pkgsrc.org> | 2001-04-27 23:16:31 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-04-27 23:16:31 +0000 |
commit | fec180220cc939efb451e6d9d7b16614a8e12168 (patch) | |
tree | df69540fd44feb0458fe2edb16380d9c401e0954 /math/p5-Math-BigInteger/patches | |
parent | 0add1997de974e7af21b41ac0ba4382d8b381b6d (diff) | |
download | pkgsrc-fec180220cc939efb451e6d9d7b16614a8e12168.tar.gz |
Reimport of p5-BigInteger as p5-Math-BigInteger.
Diffstat (limited to 'math/p5-Math-BigInteger/patches')
-rw-r--r-- | math/p5-Math-BigInteger/patches/patch-aa | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/math/p5-Math-BigInteger/patches/patch-aa b/math/p5-Math-BigInteger/patches/patch-aa new file mode 100644 index 00000000000..3366f126b26 --- /dev/null +++ b/math/p5-Math-BigInteger/patches/patch-aa @@ -0,0 +1,24 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 23:16:31 jtb Exp $ + +--- bn.c.orig Wed Feb 7 20:53:14 2001 ++++ bn.c +@@ -304,8 +304,8 @@ + int i,j,v,z=0; + static char *hex="0123456789ABCDEF"; + +- if (a->neg) Fputc('-',fp); +- if (a->top == 0) Fputc('0',fp); ++ if (a->neg) fputc('-',fp); ++ if (a->top == 0) fputc('0',fp); + for (i=a->top-1; i >=0; i--) + { + for (j=BITS2-4; j >= 0; j-=4) +@@ -314,7 +314,7 @@ + v=(a->d[i]>>j)&0x0f; + if (z || (v != 0)) + { +- Fputc(hex[v],fp); ++ fputc(hex[v],fp); + z=1; + } + } |