summaryrefslogtreecommitdiff
path: root/math/p5-Math-BigInteger/patches/patch-aa
diff options
context:
space:
mode:
authorjtb <jtb>2001-04-27 23:16:31 +0000
committerjtb <jtb>2001-04-27 23:16:31 +0000
commitd5eff4a61e3d158015fc4c5cdfe920dff5c1abdf (patch)
treedf69540fd44feb0458fe2edb16380d9c401e0954 /math/p5-Math-BigInteger/patches/patch-aa
parent5fea3cb3ddcb9b69633c10e9aa0639ddccf91f01 (diff)
downloadpkgsrc-d5eff4a61e3d158015fc4c5cdfe920dff5c1abdf.tar.gz
Reimport of p5-BigInteger as p5-Math-BigInteger.
Diffstat (limited to 'math/p5-Math-BigInteger/patches/patch-aa')
-rw-r--r--math/p5-Math-BigInteger/patches/patch-aa24
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;
+ }
+ }