Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
The BigInteger extension module gives access to Eric Young's bignum
library. This provides a faster alternative to the Math::BigInt
library. The basic object in this library is a BigInteger. It is used
to hold a single large integer.

View File

@@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.20 2013/05/31 12:41:23 wiz Exp $
DISTNAME= Math-BigInteger-1.0
PKGNAME= p5-${DISTNAME}
PKGREVISION= 7
SVR4_PKGNAME= p5mbi
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Arbitrary length integer extension module for Perl
HOMEPAGE= http://search.cpan.org/dist/Math-BigInteger/
PKG_INSTALLATION_TYPES= overwrite pkgviews
PERL5_PACKLIST= auto/Math/BigInteger/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.2 2005/02/23 12:06:56 agc Exp $
SHA1 (Math-BigInteger-1.0.tar.gz) = 15a738cfee2e0d235b324c07e477739c747f62f7
RMD160 (Math-BigInteger-1.0.tar.gz) = 4f27b9e3ed2f41bda8e3ed7c2d4b8cb9006da0a4
Size (Math-BigInteger-1.0.tar.gz) = 19869 bytes
SHA1 (patch-aa) = 3a3d3792e499dc1cd5104c9db5e0e9c4aa03e35e

View File

@@ -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;
}
}