summaryrefslogtreecommitdiff
path: root/devel/gmp
AgeCommit message (Collapse)AuthorFilesLines
2008-04-01Add distribution patch (from gmplib.org) for the following bug:bjs2-2/+10
When using mpf_set_str, mpf_init_set_str, or mpf_inp_str with a base > 36, the supplied base will actually be ignored, and the exponent 0 will be supplanted. [2007-12-10] All tests pass on NetBSD/amd64 4.99.58. Bump revision.
2008-03-11Put back a couple of IRIX conditionals the way they used to behave,tnn1-2/+2
e.g. match IRIX 5.x but not 6.x. Some of these may indeed apply to 6.x too, but let's be conservative. PR pkg/38224.
2007-12-02Update HOMEPAGES and MASTER_SITES; from Sergey Svishchev.wiz1-2/+2
2007-11-25Sunpro accepts __attribute__((mode ...)), but ignores it. Fixed therillig3-3/+30
configure test and reported it upstream.
2007-11-07comment out LICENESE for now.gdt1-2/+2
2007-10-30Update to version 4.2.2. Support DESTDIR installation. Add optionbjs2-7/+25
to build a "fat" binary on (${MACHINE_ARCH} == "i386" && ${OPSYS} != "Darwin"). This isn't enabled by default now, but it might be useful for build builds, as it uses cpuid at runtime to choose the most appropriate assembler code. Insofar as I can tell, no BUILDLINK_A[BP]I_DEPENDS bump is necessary. NOTE: Support for Darwin-*-i386 and Darwin-*-x86_64 has been improved, see below. Thus, I recommend that we test building the assembler code on Darwin at some point. Changes between GMP version 4.2.1 and 4.2.2: * License is now LGPL version 3. Bugs: * Shared library numbers corrected for libcxx. * Fixed serious bug in gmpxx.h where a=a+b*c would generate garbage. Note that this only affects C++ programs. * Fix crash in mpz_set_d for arguments with large negative exponent. * Fix 32-bit ABI bug with Itanium assembly for popcount and hamdist. * Fix assembly syntax problem for powerpc-ibm-aix with AIX native assembler. * Fix problems with x86 --enable-fat, where the compiler where told to generate code for the build machine, not plain i386 code as it should. * Improved recognition of powerpc systems wrt Altivec/VMX capability. * Misc minor fixes, mainly workarounds for compiler/assembler bugs. Speedups: * "Core 2" and Pentium 4 processors, running in 64-bit mode will get a slight boost as they are now specifically recognized. Features: * New support for x86_64-solaris * New, rudimentary support for x86-apple-darwin and x86_64-apple-darwin. (Please see http://gmplib.org/macos.html for more information.)
2007-10-16Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.tnn1-2/+2
2007-06-18Don't use x86 assembly on Darwin, as it doesn't build.schmonz1-1/+6
2007-02-22pkglint cleanup; update HOMEPAGE/MASTER_SITES.wiz1-2/+2
From Sergey Svishchev in private mail.
2006-12-09Update to GNU MP 4.2.1jnemeth6-429/+13
Changes between GMP version 4.2 and 4.2.1 Bugs: * Shared library numbers corrected. * Broken support for 32-bit AIX fixed. * Misc minor fixes. Speedups: * Exact division (mpz_divexact) now falls back to plain division for large operands. Features: * Support for some new systems. Changes between GMP version 4.1.4 and 4.2 Bugs: * Minor bug fixes and code generalizations. * Expanded and improved test suite. Speedups: * Many minor optimizations, too many to mention here. * Division now always subquadratic. * Computation of n-factorial much faster. * Added basic x86-64 assembly code. * Floating-point output is now subquadratic for all bases. * FFT multiply code now about 25% faster. * Toom3 multiply code faster. Features: * Much improved configure. * Workarounds for many more compiler bugs. * Temporary allocations are now made on the stack only if small. * New systems supported: HPPA-2.0 gcc, IA-64 HP-UX, PowerPC-64 Darwin, Sparc64 GNU/Linux. * New i386 fat binaries, selecting optimised code at runtime (--enable-fat). * New build option: --enable-profiling=instrument. * New memory function: mp_get_memory_functions. * New Mersenne Twister random numbers: gmp_randinit_mt, also now used for gmp_randinit_default. * New random functions: gmp_randinit_set, gmp_urandomb_ui, gmp_urandomm_ui. * New integer functions: mpz_combit, mpz_rootrem. * gmp_printf etc new type "M" for mp_limb_t. * gmp_scanf and friends now accept C99 hex floats. * Numeric input and output can now be in bases up to 62. * Comparisons mpz_cmp_d, mpz_cmpabs_d, mpf_cmp_d recognise infinities. * Conversions mpz_get_d, mpq_get_d, mpf_get_d truncate towards zero, previously their behaviour was unspecified. * Fixes for overflow issues with operands >= 2^31 bits. Caveats: * mpfr is gone, and will from now on be released only separately. Please see www.mpfr.org.
2006-12-02Instead of setting compiler flags in each package if it uses C99,jschauma1-8/+2
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing. May need to be reviewed/added for other compilers. ok rillig@
2006-10-22corrected LOWER_OPSYS matching for IRIX 5schwarz1-2/+2
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-30* Honor PKGINFODIR.jlam2-4/+4
* List the info files directly in the PLIST.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2005-11-02Fix for OpenBSD/i386.hiramatsu2-7/+20
This patch is taken from OpenBSD ports.
2005-10-21Make this work on IRIX, by passing -c99 (if mipspro is used) and byjschauma3-6/+377
ensuring that the conftests are actually removed and therefor capabilities can actually be detected (rather than configure failing for them)
2005-06-14revert previous; this wasn't tested very well. Sorry.jschauma2-2537/+1
2005-06-14make this build on IRIXjschauma2-1/+2537
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-05-10patch configure to work with current irix versionsjschauma2-1/+15
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-15Add patch provided by Richard Earnshaw in PR 23181:wiz3-2/+26
"GMP does not handle pure-endian FP on ARM" Bump PKGREVISION.
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