summaryrefslogtreecommitdiff
path: root/devel/gmp
AgeCommit message (Collapse)AuthorFilesLines
2005-02-23Add RMD160 digests.agc1-1/+2
2005-02-21Sign over maintainership to tech-pkg@hubertf1-2/+2
2004-12-18set ABI=o32 on irix5, as gmp only supports o32 on irix5.grant1-1/+6
fixes PR pkg/28072 from Georg Schwarz.
2004-11-22Changes 4.1.4:adam2-7/+5
* Bug fix to FFT multiplication code (crash for huge operands). * Bug fix to mpf_sub (miscomputation). * Support for powerpc64-gnu-linux. * Better support for AMD64 in 32-bit mode. * Upwardly binary compatible with 4.1.3, 4.1.2, 4.1.1, 4.1, 4.0.1, 4.0, and 3.x versions.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-2/+4
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-9/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-08-18Changes 4.1.3:adam4-23/+23
* Bug fixes. * mpz_export allows NULL for countp parameter.
2004-05-29unused.kristerw1-21/+0
2004-03-05Reorder location and setting of BUILDLINK_PACKAGES to match templatejlam1-4/+5
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-02-26fix amd64 inline assembler code to deal with 32-bit integersdrochner2-1/+18
passed to count_trailing_zeros()
2004-02-15Remove info files entries from PLIST.seb1-11/+1
2004-02-14LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globsjlam1-3/+1
relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that are automatically handled by the default setting in bsd.pkg.mk.
2004-02-12This package uses C++. Also some reorg to improve readability.jlam1-5/+5
2004-02-01In the new compiler selection framework, GCC_REQD is appended to, notjlam1-2/+2
overridden.
2004-01-24Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. Injlam1-2/+2
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives a value only once due to the multiple inclusion protection in the bulldlink3.mk files. In the case where a package includes several buildlink3.mk files that each want a slightly different version of another dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the strictest <pkg> dependency to be matched.
2004-01-19bl3ifyjlam2-2/+21
2003-12-30Add the gmpxx lib and .h files.kristerw1-1/+3
2003-12-02Add math to CATEGORIES.salo1-5/+7
Style nits.
2003-10-28The configure script thinks gcc 2.95 for ARM is too buggy to use,kristerw1-1/+6
so require gcc 3 for arm.
2003-09-27use tools.mk for GNU m4.grant1-5/+3
move a line for clarity.
2003-09-17add USE_GCC_SHLIB, reorder some lines a bit for clarity.grant1-2/+4
2003-08-21Add correct TEST_TARGETheinz1-1/+3
2003-08-09USE_NEW_TEXINFO is unnecessary now.seb1-2/+1
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-23Convert to USE_NEW_TEXINFO.seb2-5/+3
2003-02-21Update to gmp 4.1.2. Many changes, but the relevant bug fixes seems to be:mycroft8-129/+11
* mpn/generic/rootrem.c: In Newton loop, pad qp with leading zero. * mpn/generic/rootrem.c: Allocate 1.585 (log2(3)) times more space for pp temporary to allow for worst case overestimate of root. Add some asserts. * tests/mpz/t-root.c: Generalize and speed up. * mpfr/pow.c: Fixed bug (infinite loop) for exact powers. * mpfr/sub.c: Fixed wrong inexact flag for a - b where a and b are of different signs and EXP(a) < EXP(b). * printf/printffuns.c (gmp_fprintf_reps): Make it actually work for padding > 256. * gmp-impl.h (USE_LEADING_REGPARM): Disable for PIC code generation. * mpn/generic/tdiv_qr.c: Remove a bogus assert. * mpn/generic/mode1o.c, mpn/alpha/ev5/mode1o.c: Correction to ASSERTs. Reported by Christoph Ludwig. * mpf/urandomb.c: Truncate nbits to precision of rop. * configure.in (sparc v9 *bsd*): Add NetBSD and OpenBSD sparc64. (x86 openbsd*): Extra underscore for _GLOBAL_OFFSET_TABLE_. * mpn/generic/rootrem.c: Avoid overflow in xnb calculation. * mpz/root.c: Avoid overflow in rootnb calculation. * gmpxx.h (__gmp_binary_equal, __gmp_binary_not_equal): Fix broken mpq/double functions. * mpn/m68k/lshift.asm: Fix typo in !scale_available_p code. * mpn/m68k/rshift.asm: Likewise. * mpz/remove.c: Make src==0 return 0, not do DIVIDE_BY_ZERO. * mpfr/acinclude.m4 (MPFR_CONFIGS): Patch by Vincent for an apparent float rounding gremlin on powerpc. * mpf/inp_str.c: Fix returned count of chars read, reported by Paul Zimmermann. Also fix a memory leak for invalid input. * mpfr/set_q.c: Allow for 1 bit numerator or denominator.
2003-01-02fix dependency for m4hubertf1-2/+2
2002-10-09Unused.wiz1-34/+0
2002-08-27Add a buildlink2.mk based on the existing buildlink.mk one.jlam1-0/+19
2002-08-25Merge packages from the buildlink2 branch back into the main trunk thatjlam8-9/+9
have been converted to USE_BUILDLINK2.
2002-08-24Update to 4.1mjl9-48/+133
* Bug fixes. * Speed improvements. * Upwardly binary compatible with 4.0, 4.0.1, and 3.x versions. * Asymptotically fast conversion to/from strings (mpz, mpq, mpn levels), but also major speed improvements for tiny operands. * mpn_get_str parameter restrictions relaxed. * Major speed improvments for HPPA 2.0 systems. * Major speed improvments for UltraSPARC systems. * Major speed improvments for IA-64 systems (but still sub-optimal code). * Extended test suite. * mpfr is back, with many bug fixes and portability improvements. * New function: mpz_ui_sub. * New functions: mpz_export, mpz_import. * Optimization for nth root functions (mpz_root, mpz_perfect_power_p). * Optimization for extended gcd (mpz_gcdext, mpz_invert, mpn_gcdext). * Generalized low-level number format, reserving a `nails' part of each limb. (Please note that this is really experimental; some functions are likely to compute garbage when nails are enabled.) * Nails-enabled Alpha 21264 assembly code, allowing up to 75% better performance. (Use --enable-nails=4 to enable it.)
2002-05-10Make this compile with gas-2.11.2/m68k/ELF (NetBSD-1.5ZC/mac68k).fredb2-1/+35
2002-04-12Build C++ library, too.jschauma2-2/+9
(Commit approved by hubertf)
2002-04-10Update gmp to 4.0.1. Changes:hubertf7-104/+12
* Bug fixes. * Speed improvements. * Upwardly binary compatible with 3.x versions. * New CPU support: IA-64, Pentium 4. * Improved CPU support: 21264, Cray vector systems. * Support for all MIPS ABIs: o32, n32, 64. * New systems supported: Darwin, SCO, Windows DLLs. * New divide-and-conquer square root algorithm. * New algorithms chapter in the manual. * New malloc reentrant temporary memory method. * New C++ class interface by Gerardo Ballabio (beta). * Revamped configure, featuring ABI selection. * Speed improvements for mpz_powm and mpz_powm_ui (mainly affecting small operands). * mpz_perfect_power_p now properly recognizes 0, 1, and negative perfect powers. * mpz_hamdist now supports negative operands. * mpz_jacobi now accepts non-positive denominators. * mpz_powm now supports negative exponents. * mpn_mul_1 operand overlap requirements relaxed. * Float input and output uses locale specific decimal point where available. * New gmp_printf, gmp_scanf and related functions. * New division functions: mpz_cdiv_q_2exp, mpz_cdiv_r_2exp, mpz_divexact_ui. * New divisibility tests: mpz_divisible_p, mpz_divisible_ui_p, mpz_divisible_2exp_p, mpz_congruent_p, mpz_congruent_ui_p, mpz_congruent_2exp_p. * New Fibonacci function: mpz_fib2_ui. * New Lucas number functions: mpz_lucnum_ui, mpz_lucnum2_ui. * Other new integer functions: mpz_cmp_d, mpz_cmpabs_d, mpz_get_d_2exp, mpz_init2, mpz_kronecker, mpz_lcm_ui, mpz_realloc2. * New rational I/O: mpq_get_str, mpq_inp_str, mpq_out_str, mpq_set_str. * Other new rational functions: mpq_abs, mpq_cmp_si, mpq_div_2exp, mpq_mul_2exp, mpq_set_f. * New float tests: mpf_integer_p, mpf_fits_sint_p, mpf_fits_slong_p, mpf_fits_sshort_p, mpf_fits_uint_p, mpf_fits_ulong_p, mpf_fits_ushort_p. * Other new float functions: mpf_cmp_d, mpf_get_default_prec, mpf_get_si, mpf_get_ui, mpf_get_d_2exp. * New random functions: gmp_randinit_default, gmp_randinit_lc_2exp_size. * New demo expression string parser (see demos/expr). * New preliminary perl interface (see demos/perl). * Tuned algorithm thresholds for many more CPUs.
2002-02-18Introduce new framework for handling info files generation and installation.seb2-4/+6
Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information.
2001-11-01Move pkg/ files into package's toplevel directoryzuntum2-1/+1
2001-07-27Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the defaultjlam1-1/+2
installation directory in case the package isn't installed.
2001-07-20Mechanical changes to buildlink.mk files to use EVAL_PREFIX to setjlam1-2/+2
BUILDLINK_PREFIX.<pkgname>. This allows buildlink to find X11BASE packages regardless of whether they were installed before or after xpkgwedge was installed. Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-02Mark as USE_BUILDLINK_ONLY.jlam1-1/+2
2001-07-01Move inclusion of bsd.buildlink.mk to start of file.jlam1-3/+3
2001-06-23Generalize how the dependency pattern may be specified. Instead of justjlam1-4/+5
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify the dependency pattern as FOO_DEPENDS=foo>=1.0. This allows things like JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib. Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-11Use bsd.buildlink.mk instead of duplicating code all over the place.jlam1-44/+11
2001-06-10Use cookies (.*_done) to determine whether headers and libs have beenjlam1-6/+12
linked from a particular package, and add a pre-configure target to the buildlink.mk file to more painlessly use buildlink.mk files. A ${BUILDLINK_TARGETS} variable still exists in case a package _must_ define NO_CONFIGURE.
2001-05-28Add buildlink.mk file to link appropriate libraries and headers intojlam1-0/+59
${BUILDLINK_INCDIR} and ${BUILDLINK_LIBDIR}, to be used by other packages.
2001-04-21Move to sha1 digests, and/or add distfile sizes.wiz1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc3-9/+7
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-03-27Change BUILD_DEPENDS semantics:hubertf1-2/+2
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
2001-02-23Use GNU m4; on macppc, NetBSD m4 seems to have a problem here.wiz1-1/+4
2001-02-16Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2001-01-04The way that shared objects were handled in the PLISTs and bsd.pkg.mk wasagc1-1/+3
out of date - it was based on a.out OBJECT_FMT, and added entries in the generated PLISTs to reflect the symlinks that ELF packages uses. It also tried to be clever, and removed and recreated any symbolic links that were created, which has resulted in some fun, especially with packages which use dlopen(3) to load modules. Some recent changes to our ld.so to bring it more into line with other Operating Systems also exposed some cracks. + Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain the ELF symlinks. + Don't mess about with file system entries when handling shared objects in bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will have got it right, and have a much better idea than we do. + Modify PLISTs to contain "ELF symlinks" + On a.out platforms, delete any "ELF symlinks" from the generated PLISTs + On ELF platforms, no extra processing needs to be done in bsd.pkg.mk + Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on a.out platforms + Update the documentation in Packages.txt With many thanks to Thomas Klausner for keeping me honest with this.