The NetBSD Project

CVS log for pkgsrc/devel/gmp/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / gmp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.92 / (download) - annotate - [select for diffs], Sat Aug 5 07:08:26 2023 UTC (8 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, HEAD
Changes since 1.91: +4 -7 lines
Diff to previous 1.91 (colored)

gmp: updated to 6.3.0

Changes between GMP version 6.2.* and 6.3.*.

  BUGS FIXED
  * A possible overflow of type int is avoided for mpz_cmp on huge operands.

  * A possible error condition when a malformed file is read with
    mpz_inp_raw is now correctly handled.

  FEATURES
  * New public function mpz_prevprime, companion of the existing
    mpz_nextprime.

  * New documented pointer types mpz_ptr, mpz_srcptr, and similar for
    other GMP types. Refer to the manual for full list and suggested
    usage. These types have been present in gmp.h at least since
    GMP-4.0, but previously not advertised to users.

  * Support for 64-bit Arm under Macos.

  * Support for the loongarch64 CPU family.

  * Support for building with LTO, link-time optimisations.

  SPEEDUPS
  * New special code for base = 2 in mpz_powm reduces the average time
    for the functions that test primality.

  * Speedup for the function mpz_nextprime on large operands.

  * Speedup for multiplications (some sizes only) thanks to new
    internal functions to compute small negacyclic products.

  * Special assembly code for IBM z13 and later "mainframe" CPUs, resulting in
    a huge speedup.

  * Improved assembly for several 64-bit x86 CPUs, Risc-V, 64-bit Arm.

Revision 1.91 / (download) - annotate - [select for diffs], Thu Jul 21 10:17:21 2022 UTC (20 months, 4 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.90: +3 -2 lines
Diff to previous 1.90 (colored)

gmp: add rpath to pkg-config file

Bump PKGREVISION

Revision 1.90 / (download) - annotate - [select for diffs], Thu Dec 23 18:39:30 2021 UTC (2 years, 3 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.89: +3 -2 lines
Diff to previous 1.89 (colored)

gmp: add missing PKGCONFIG_OVERRIDE for rpath. bump PKGREVISION.

Revision 1.88.8.1 / (download) - annotate - [select for diffs], Sat Nov 27 21:43:55 2021 UTC (2 years, 4 months ago) by tm
Branch: pkgsrc-2021Q3
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Pullup ticket #6544 - requested by wiz
devel/gmp: security fix

Revisions pulled up:
- devel/gmp/Makefile                                            1.89
- devel/gmp/distinfo                                            1.59
- devel/gmp/patches/patch-mpz_inp__raw.c                        1.1

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Fri Nov 26 12:23:09 UTC 2021

   Modified Files:
   	pkgsrc/devel/gmp: Makefile distinfo
   Added Files:
   	pkgsrc/devel/gmp/patches: patch-mpz_inp__raw.c

   Log Message:
   gmp: fix CVE-2021-43618 using upstream patch

   Bump PKGREVISION.

Revision 1.89 / (download) - annotate - [select for diffs], Fri Nov 26 12:23:08 2021 UTC (2 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored)

gmp: fix CVE-2021-43618 using upstream patch

Bump PKGREVISION.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Nov 16 13:12:41 2020 UTC (3 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Branch point for: pkgsrc-2021Q3
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

gmp: update to 6.2.1.

Fix some pkglint while here.

Changes between GMP version 6.2.0 and 6.2.1

  BUGS FIXED
  * A possible overflow of type int is avoided for mpz_cmp on huge operands.

  * Overflows are more carefully detected and reported for mpz_pow_ui.

  * A bug in longlong.h for aarch64 sub_ddmmss, not affecting GMP, was healed.

  * mini-gmp: mpz_out_str and mpq_out_str now correctly handle out of
    range bases.

  FEATURES
  * C90 compliance.

  * Initial support for Darwin on arm64, and improved portability.

  * Support for more processors.

  SPEEDUPS
  * None, except indirectly through recognition of new CPUs.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Jan 20 21:25:24 2020 UTC (4 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.86: +6 -7 lines
Diff to previous 1.86 (colored)

gmp: updated to 6.2.0

Changes between GMP version 6.1.* and 6.2.0

BUGS FIXED
* gmp_snprintf now correctly reports an error (returns -1) when snprintf
  does.
* Conversion to double is now more robust even if the configuration process
  does not recognize the float format.
* mpz_powm could return a not completely normalised value, when the
  exponent was 1 and the base < 0.
* mpf_set_str could create invalid mpf_t variables for input strings with
  many leading zeros.

FEATURES
* New C++ functions factorial, primorial and fibonacci for mpz_class.
* Functions to detect primality now substitute the first 24 Miller-Rabin
  iterations with the BPSW test.
* Mini-GMP: new functions mpz_2fac_ui and mpz_mfac_uiui.
* Mini-GMP: mpz_sizeinbase, mpz_get_str, and mpz_set_str now support bases up
  to 62.
* Mini-GMP: added support for the mpq_t layer.
* MIPS r6 cores are now supported.

SPEEDUPS
* Major speedup for AMD Ryzen and Epyc thanks to an extensive set of assembly
  code.
* Major speedup for IBM POWER9 thanks to assembly code making use of new madd
  instruction.
* Speedup for 64-bit ARM CPUs thanks to new/improved assembly code.
* The n-over-k function mpz_bin_ui has been reimplemented for great speedups
  for large operands.
* Speedup for the worst case of mpz_perfect_power_p.
* Speedup for gcd for small and medium size operands.
* Speedup for really huge multiplies thanks to much larger FFT tables.

MISC
* Internal representation of the mpz_t variables now supports lazy
  allocation; memory is allocated only when a value is stored.
* Small improvements and better coverage for the test suite.
* The tune/speed program can measure some more functions.
* The low-level function mpn_mul no longer diverts to mpn_sqr, users should
  call mpn_sqr directly when applicable.
* New installed files gmp.pc and gmpxx.pc, for use with pkg-config.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Aug 1 14:58:56 2017 UTC (6 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

Follow some http -> https redirects.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Jul 16 19:06:12 2017 UTC (6 years, 9 months ago) by maya
Branch: MAIN
Changes since 1.84: +1 -6 lines
Diff to previous 1.84 (colored)

Omit low GCC_REQD

Revision 1.84 / (download) - annotate - [select for diffs], Sat Apr 22 08:23:17 2017 UTC (6 years, 11 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.83: +2 -3 lines
Diff to previous 1.83 (colored)

Remove SunOS too.  Unbreaks build.

Revision 1.83 / (download) - annotate - [select for diffs], Sat Apr 22 07:01:07 2017 UTC (6 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

Removed Darwin from MPN-generic hack as it builds correctly without it. Configure failed for newer CPUs when generic was enabled.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Apr 20 22:37:57 2017 UTC (6 years, 11 months ago) by szptvlfn
Branch: MAIN
Changes since 1.81: +2 -3 lines
Diff to previous 1.81 (colored)

remove TODO

Revision 1.81 / (download) - annotate - [select for diffs], Thu Jan 19 18:52:06 2017 UTC (7 years, 2 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Dec 19 08:50:45 2016 UTC (7 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

Updated gmp to 6.1.2.

Changes between GMP version 6.1.1 and 6.1.2

  BUGS FIXED
  * Mini-GMP: Fixed a division bug, which on a machine with 64-bit
    unsigned long affects approximately 1 out of 2^32 divisors.

  * Mini-GMP: Fix mpz_set_str crash on inputs with a large number of
    leading zeros. Also stricter input validation, rejecting inputs
    with no digits.

  FEATURES
  * Handle more systems which require PIC code in static libraries (e.g.,
    "hardened" Gentoo and Debian 9).

  * Configuration for arm (-32 and -64) has been rewritten, fixing poor
    code selection for many CPUs.

  * Mini-GMP: Updated to the latest development version, including
    new functions mpn_com and mpn_neg.

  SPEEDUPS
  * None, except for arm CPUs affected by the configuration rewrite.

Revision 1.79 / (download) - annotate - [select for diffs], Tue Aug 23 05:10:48 2016 UTC (7 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

Changes in GMP 6.1.1

BUGS FIXED
* Make Intel Broadwell configurations work on Windows.

FEATURES
* Work around faulty cpuid on some recent Intel chips (this allows GMP to run on Skylake Pentiums).
* Support thumb-less ARM chips.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Nov 13 11:36:44 2015 UTC (8 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

Update gmp to 6.1.0:

Changes between GMP version 6.0.* and 6.1.0

  BUGS FIXED
  * The public function mpn_com is now correctly declared in gmp.h.

  * Healed possible failures of mpn_sec_sqr for non-cryptographic sizes for
    some obsolete CPUs.

  * The option --disable-assembly now disables all inlined asm.

  * Fixed bug affecting mini-gmp's bitwise functions mpz_setbit, mpz_clrbit,
    and mpz_combit.

  * Various problems related to precision for mpf have been fixed.

  * Fixed ABI incompatible stack alignment in calls from assembly code.

  * Fixed PIC bug in popcount affecting Intel processors using the 32-bit ABI.

  SPEEDUPS
  * Speedup for Intel Broadwell and Skylake though assembly code making use of
    new ADX instructions.

  * Square root is now faster when the remainder is not needed. Also the speed
    to compute the k-th root improved, for small sizes.

  * Improved arm64 support.

  FEATURES
  * New C++ functions gcd and lcm for mpz_class.

  * New public mpn functions mpn_divexact_1, mpn_zero_p, and mpn_cnd_swap.

  * New public mpq_cmp_z function, to efficiently compare rationals with
    integers.

  * Support for Darwin in all x86 code, thereby enabling fat builds on Darwin.

  * Support for more 32-bit arm processors.

  * Support for compilation with clang/llvm on more platforms.  Caution: GMP
    triggers mis-compilation bugs in clang for many platforms, such as arm, x86
    (32-bit and 64-bit), powerpc, mips.

  * Support for AVX-less modern x86 CPUs. (Such support might be missing either
    because the CPU vendor chose to disable AVX, or because the running kernel
    lacks AVX context switch support.)

  * Stack usage trimmed; we believe 512 KiB is now sufficient for any GMP
    call, irrespective of operand size.

  * Support for NetBSD under Xen; we switch off AVX unconditionally under
    NetBSD since a bug in NetBSD makes AVX fail under Xen.

  MISC
  * We now use manufacturers' code names for x86 CPUs, e.g., "haswell" instead
    of names derived from the commercial brands.

  * Small improvements and better coverage for the test suite.

  * The various FreeBSD problems listed for 6.0.0 affect this release too.

  * Tuned values for FFT multiplications are provided for larger number on
    many platforms.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Mar 30 18:48:08 2015 UTC (9 years ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

Fix LICENSE to match current package contents.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Mar 19 20:40:31 2015 UTC (9 years, 1 month ago) by tnn
Branch: MAIN
Changes since 1.75: +3 -5 lines
Diff to previous 1.75 (colored)

Remove obsolete BUILDLINK_TRANSFORMs. The package does not set any of the
transformed compiler flags when built through pkgsrc because
config.guess overrides are in effect. Fixes build with cwrappers on i386.

Also add a comment that we should enable the runtime CPU detection support
on amd64 some time in the future.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Sep 10 10:41:13 2014 UTC (9 years, 7 months ago) by richard
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.74: +0 -3 lines
Diff to previous 1.74 (colored)

revert gmp/Makefile

Revision 1.74 / (download) - annotate - [select for diffs], Wed Sep 10 10:14:07 2014 UTC (9 years, 7 months ago) by richard
Branch: MAIN
Changes since 1.73: +4 -1 lines
Diff to previous 1.73 (colored)

adding devel/py-hgnested

hgnested is a Mercurial extension to work with nested repositories.

It was inspired by the forest extension.

The extension allows to apply common Mercurial commands to all the nested
repositories at once like pull, push etc. It also allows to fetch a complete
tree of repositories through ssh or http.

To enable the "hgnested" extension, create an entry for it in your hgrc, like
this:

    [extensions]
    hgnested =

See `hg help hgnested` for the complete list of commands.

For more information please visit the following website:

	http://code.google.com/p/hgnested/

Revision 1.73 / (download) - annotate - [select for diffs], Thu Apr 17 13:08:24 2014 UTC (10 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.72: +6 -5 lines
Diff to previous 1.72 (colored)

Update to 6.0.0a:

Changes between 6.0.0 and 6.0.0a:
Not documented.

Changes between GMP version 5.1.* and 6.0.0

  BUGS FIXED
  * The function mpz_invert now considers any number invertible in Z/1Z.

  * The mpn multiply code now handles operands of more than 2^31 limbs
    correctly.  (Note however that the mpz code is limited to 2^32 bits on
    32-bit hosts and 2^37 bits on 64-bit hosts.)

  * Contains all fixes from release 5.1.3.

  SPEEDUPS
  * Plain division of large operands is faster and more monotonous in operand
    size.

  * Major speedup for ARM, in particular ARM Cortex-A15, thanks to improved
    assembly.

  * Major speedup for SPARC T4/T5 and speedup also for T3, thanks to a lot of
    new assembly.

  * Speedup for Intel Sandy Bridge, Ivy Bridge, Haswell, thanks to rewritten
    and vastly expanded assembly support.  Speedup also for the older Core 2
    and Nehalem.

  * Faster mixed arithmetic between mpq_class and double.

  * With g++, optimise more operations when one argument is a simple constant.

  FEATURES
  * Support for new Intel and AMD CPUs.

  * Support for ARM64 alias Aarch64 alias ARMv8.

  * New public functions mpn_sec_mul and mpn_sec_sqr, implementing side-channel
    silent multiplication and squaring.

  * New public functions mpn_sec_div_qr and mpn_sec_div_r, implementing
    side-channel silent division.

  * New public functions mpn_cnd_add_n and mpn_cnd_sub_n.  Side-channel silent
    conditional addition and subtraction.

  * New public function mpn_sec_powm, implementing side-channel silent modexp.

  * New public function mpn_sec_invert, implementing side-channel silent
    modular inversion.

  * Better support for applications which use the mpz_t type, but nevertheless
    need to call some of the lower-level mpn functions.  See the documentation
    for mpz_limbs_read and related functions.

  MISC
    [FreeBSD bashing removed]

Revision 1.72 / (download) - annotate - [select for diffs], Wed Oct 2 15:13:46 2013 UTC (10 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Oops.. switched back to .tar.bz2

Revision 1.71 / (download) - annotate - [select for diffs], Wed Oct 2 15:10:55 2013 UTC (10 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Changes 5.1.3:

  BUGS FIXED
  * The internal functions mpn_sbpi1_div_qr_sec mpn_sbpi1_div_r_sec could
    compute garbage with a low probability.  They are now rewritten, and the
    test code has been improved.

  * A bug in the ia64 implementation of mpn_divrem_2, clobbering some
    callee-save registers, has been fixed. This is an internal
    function, with the bug manifesting itself as miscomputation in,
    e.g., mpn_sqrtrem.

  * The documentation now correctly says 'const' for input arguments.

Revision 1.70 / (download) - annotate - [select for diffs], Sat May 25 13:32:26 2013 UTC (10 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

Update to 5.1.2:

Changes between GMP version 5.1.1 and 5.1.2

  BUGS FIXED
  * A bug in mpz_powm_ui triggered by base arguments of at least 15000 decimal
    digits or mod arguments of at least 7500 decimal digits has been fixed.

  * A AMD Bulldozer specific bug affecting the 64-bit Windows ABI has been
    fixed.  This bug was in a key function (mpn_mul_1) and made both Bulldozer
    specific builds and fat builds run on Bulldozer completely non-functional.

  MISC
  * Fixes and generalisations to the test suite.

  * Minor portability enhancements.

Revision 1.69 / (download) - annotate - [select for diffs], Fri May 10 00:44:29 2013 UTC (10 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.68: +5 -1 lines
Diff to previous 1.68 (colored)

Fix devel/gmp cross-build by telling it about the native C compiler.

ok agc

Revision 1.68 / (download) - annotate - [select for diffs], Tue Feb 12 09:15:36 2013 UTC (11 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

Changes 5.1.1:
BUGS FIXED
On Windows 64-bit, an error causing link errors about __gmp_binvert_limb_table has been fixed.
Aarch64 alias ARM64 support now works.
A possible buffer overrun in mpz_ior has been fixed.
A rare sign flip in mpz_remove has been fixed.
A bug causing problems with mpf numbers with absolute value γι231 has been fixed.
Several bugs in mini-gmp have been fixed.
A bug caused by automake, related to the 'distcheck' target, has been fixed by upgrading the automake used for GMP release engineering.

FEATURES
Preliminary support for the x32 ABI under x86-64.

MISC
The mini-gmp testsuite now tests the entire set of functions.
Various improvements of the GMP testsuite.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Feb 1 23:09:54 2013 UTC (11 years, 2 months ago) by hans
Branch: MAIN
Changes since 1.66: +3 -1 lines
Diff to previous 1.66 (colored)

Document .tar.bz2 requirement, requested by wiz.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Feb 1 11:26:22 2013 UTC (11 years, 2 months ago) by hans
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

Use .tar.bz2 distfile so that no extra dependency on archivers/xz is
needed when building lang/gcc* with option gcc-inplace-math.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Jan 31 20:30:25 2013 UTC (11 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.64: +5 -6 lines
Diff to previous 1.64 (colored)

Changes 5.1.0:

BUGS FIXED
* When reading a C++ number (like mpz_class) in an istream reaches the end
  of the stream, the eofbit is now set.

* The result sign of mpz_rootrem's remainder is now always correct.
* The mpz_remove function now handles negative divisors.
* Contains all fixes from release 5.0.5.

SPEEDUPS
* The n-factorial and n-over-k functions have been reimplemented for great
  speedups for small and large operands.
* New subquadratic algorithm for the Kronecker/Jacobi/Legendre symbol.
* Major speedup for ARM, in particular ARM Cortex-A9 and A15, thanks to broad
  assembly support.
* Significant speedup or POWER6 and POWER7 thanks to improved assembly.
* The performance under M$ Windows' 64-bit ABI has been greatly improved
  thanks to complete assembly support.
* Minor speed improvements of many functions and for many platforms.

FEATURES
* Many new CPUs recognised.
* New functions for multi-factorials, and primorial: mpz_2fac_ui,
  mpz_mfac_uiui and mpz_primorial_ui.
* The mpz_powm_sec function now uses side-channel silent division for
  converting into Montgomery residues.
* The fat binary mechanism is now more robust in its CPU recognition.

MISC
* Inclusion of assembly code is now controlled by the configure options
  --enable-assembly and --disable-assembly.  The "none" CPU targets is gone.
* In C++, the conversions mpq_class->mpz_class, mpf_class->mpz_class and
  mpf_class->mpq_class are now explicit.
* Includes "mini-gmp", a small, portable, but less efficient, implementation
  of a subset of GMP's mpn and mpz interfaces. Used in GMP bootstrap, but it
  can also be bundled with applications as a fallback when the real GMP
  library is unavailable.
* The ABIs under AIX are no longer called aix32 and aix64, but mode64 and 32.
  This is more consistent with other powerpc systems.
* The coverage of the testsuite has been improved, using the lcov tool.  See
  also http://gmplib.org/devel/lcov/.
* It is now possible to compile GMP using a C++ compiler.
* K&R C compilers are no longer supported.
* The BSD MP compatibility functions have been removed.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Oct 31 11:17:01 2012 UTC (11 years, 5 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.63: +1 -2 lines
Diff to previous 1.63 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.63 / (download) - annotate - [select for diffs], Fri May 11 14:08:59 2012 UTC (11 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

update to 5.0.5
changes: bugfixes, in particular for glitches with newer CPUs

Revision 1.62 / (download) - annotate - [select for diffs], Tue Feb 21 13:18:19 2012 UTC (12 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.61: +2 -3 lines
Diff to previous 1.61 (colored)

update to 5.0.4
changes:
-bugfixes
-New CPUs recognised

Revision 1.61 / (download) - annotate - [select for diffs], Wed Nov 16 21:30:07 2011 UTC (12 years, 5 months ago) by is
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored)

Make this work on thumbless CPUs.

Revision 1.60 / (download) - annotate - [select for diffs], Sun May 8 20:50:09 2011 UTC (12 years, 11 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Update GMP to version 5.0.2


Changes between GMP version 5.0.1 and 5.0.2

  BUGS FIXED
  * Many minor bugs related to portability fixed.

  * The support for HPPA 2.0N now works, after an assembly bug fix.

  * A test case type error has been fixed.  The symptom of this bug
    was spurious 'make check' failures.

  SPEEDUPS
  * None, except indirectly through recognition of new CPUs.

  FEATURES
  * Fat builds are now supported for 64-bit x86 processors also under Darwin.

  MISC
  * None.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Sep 24 14:27:35 2010 UTC (13 years, 6 months ago) by jwise
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.58: +3 -2 lines
Diff to previous 1.58 (colored)

Fix build on Solaris 10.

Unfortunately, with recent gcc, the x86 version of mpn fails to build on
Solaris.  Add it to Darwin on the list of platforms for which we build a
generic mpn instead.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Feb 13 09:43:40 2010 UTC (14 years, 2 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Update to GMP 5.0.1


Changes in GMP 5.0.1

BUGS FIXED

  - Fat builds fixed.
  - Fixed crash for huge multiplies when old FFT_TABLE2 type of parameter selection tables' sentinel was smaller than multiplied
    operands.
  - The solib numbers now reflect the removal of the documented but preliminary mpn_bdivmod function; we correctly flag
    incompatibility with GMP 4.3. GMP 5.0.0 has this wrong, and should perhaps be uninstalled to avoid confusion.

SPEEDUPS

  - Multiplication of large numbers has indirectly been sped up through better FFT tuning and processor recognition. Since many
    operations depend on multiplication, there will be a general speedup.

FEATURES

  - More Core i3, i5 an Core i7 processor models are recognised.
  - Fixes and workarounds for Mac OS quirks should make this GMP version build using many of the different versions of "Xcode".

MISC

  - The amount of scratch memory needed for multiplication of huge numbers have been reduced substantially (but is still larger
    than in GMP 4.3.)
  - Likewise, the amount of scratch memory needed for division of large numbers have been reduced substantially.
  - The FFT tuning code of tune/tuneup.c has been completely rewritten, and new, large FFT parameter selection tables are provided
    for many machines.
  - Upgraded to the latest autoconf, automake, libtool.


Changes in GMP 5.0.0

BUGS FIXED

  - None (contains the same fixes as release 4.3.2).

SPEEDUPS

  - Multiplication has been overhauled:
     1. Multiplication of larger same size operands has been improved with the addition of two new Toom functions and a new
        internal function mpn_mulmod_bnm1 (computing U * V mod (B^n-1), B being the word base. This latter function is used for the
        largest products, waiting for a better Schoenhage-Strassen U * V mod (B^n+1) implementation.
     2. Likewise for squaring.
     3. Multiplication of different size operands has been improved with the addition of many new Toom function, and by selecting
        underlying functions better from the main multiply functions.
  - Division and mod have been overhauled:
     1. Plain "schoolbook" division is reimplemented using faster quotient approximation.
     2. Division Q = N/D, R = N mod D where both the quotient and remainder are needed now runs in time O(M(log(N))). This is an
        improvement of a factor log(log(N))
     3. Division where just the quotient is needed is now O(M(log(Q))) on average.
     4. Modulo operations using Montgomery REDC form now take time O(M(n)).
     5. Exact division Q = N/D by means of mpz_divexact has been improved for all sizes, and now runs in time O(M(log(N))).
  - The function mpz_powm is now faster for all sizes. Its complexity has gone from O(M(n)log(n)m) to O(M(n)m) where n is the size
    of the modulo argument and m is the size of the exponent. It is also radically faster for even modulus, since it now partially
    factors such modulus and performs two smaller modexp operations, then uses CRT.
  - The internal support for multiplication yielding just the lower n limbs has been improved by using Mulders' algorithm.
  - Computation of inverses, both plain 1/N and 1/N mod B^n have been improved by using well-tuned Newton iterations, and
    wrap-around multiplication using mpn_mulmod_bnm1.
  - A new algorithm makes mpz_perfect_power_p asymptotically faster.
  - The function mpz_remove uses a much faster algorithm, is better tuned, and also benefits from the division improvements.
  - Intel Atom and VIA Nano specific optimisations.
  - Plus hundreds of smaller improvements and tweaks!

FEATURES

  - New mpz function: mpz_powm_sec for side-channel quiet modexp computations.
  - New mpn functions: mpn_sqr, mpn_and_n, mpn_ior_n, mpn_xor_n, mpn_nand_n, mpn_nior_n, mpn_xnor_n, mpn_andn_n, mpn_iorn_n,
    mpn_com, mpn_neg, mpn_copyi, mpn_copyd, mpn_zero.
  - The function mpn_tdiv_qr now allows certain argument overlap.
  - Support for fat binaries for 64-bit x86 processors has been added.
  - A new type, mp_bitcnt_t for bignum bit counts, has been introduced.
  - Support for Windows64 through mingw64 has been added.
  - The cofactors of mpz_gcdext and mpn_gcdext are now more strictly normalised, returning to how GMP 4.2 worked. (Note that also
    release 4.3.2 has this change.)

MISC

  - The mpn_mul function should no longer be used for squaring, instead use the new mpn_sqr.
  - The algorithm selection has been improved, the number of thresholds have more than doubled, and the tuning and use of existing
    thresholds have been improved.
  - The tune/speed program can measure many of new functions.
  - The mpn_bdivmod function has been removed. We do not consider this an incompatible change, since the function was marked as
    preliminary.
  - The testsuite has been enhanced in various ways.


Changes in GMP 4.3.2

Bugs:

  - Fixed bug in mpf_eq.
  - Fixed overflow issues in mpz_set_str, mpz_inp_str, mpf_set_str, and mpf_get_str.
  - Avoid unbounded stack allocation for unbalanced multiplication.
  - Fixed bug in FFT multiplication.

Speedups:

  - None, except that improved processor recognition helps affected processors.

Features:

  - Recognise more "Core 2" processor variants.
  - The cofactors of mpz_gcdext and mpn_gcdext are now more strictly normalised, returning to how GMP 4.2 worked.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Aug 16 13:42:33 2009 UTC (14 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.56: +3 -9 lines
Diff to previous 1.56 (colored)

Update to 4.3.1. Add gnu-gpl-v3 to LICENSE, since README claims it
also affects some files.

Changes between GMP version 4.3.0 and 4.3.1

  Bugs:
  * Fixed bug in mpn_gcdext, affecting also mpz_gcdext and mpz_invert.
    The bug could cause a cofactor to have a leading zero limb, which
    could lead to crashes or miscomputation later on.
  * Fixed some minor documentation issues.

  Features:
  * Workarounds for various issues with Mac OS X's build tools.
  * Recognise more IBM "POWER" processor variants.


Changes between GMP version 4.2.X and 4.3.0

  Bugs:
  * Fixed bug in mpz_perfect_power_p with recognition of negative perfect
    powers that can be written both as an even and odd power.
  * We might accidentally have added bugs since there is a large amount of
    new code in this release.

  Speedups:
  * Vastly improved assembly code for x86-64 processors from AMD and Intel.
  * Major improvements also for many other processor families, such as
    Alpha, PowerPC, and Itanium.
  * New sub-quadratic mpn_gcd and mpn_gcdext, as well as improved basecase
    gcd code.
  * The multiply FFT code has been slightly improved.
  * Balanced multiplication now uses 4-way Toom in addition to schoolbook,
    Karatsuba, 3-way Toom, and FFT.
  * Unbalanced multiplication has been vastly improved.
  * Improved schoolbook division by means of faster quotient approximation.
  * Several new algorithms for division and mod by single limbs, giving
    many-fold speedups.
  * Improved nth root computations.
  * The mpz_nextprime function uses sieving and is much faster.
  * Countless minor tweaks.

  Features:
  * Updated support for fat binaries for x86_32 include current processors
  * Lots of new mpn internal interfaces.  Some of them will become public
    in a future GMP release.
  * Support for the 32-bit ABI under x86-apple-darwin.
  * x86 CPU recognition code should now default better for future
    processors.
  * The experimental nails feature does not work in this release, but
    it might be re-enabled in the future.

  Misc:
  * The gmp_version variable now always contains three parts.  For this
    release, it is "4.3.0".

Revision 1.56 / (download) - annotate - [select for diffs], Tue May 19 08:59:09 2009 UTC (14 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Jan 20 17:51:12 2009 UTC (15 years, 3 months ago) by sketch
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.54: +11 -3 lines
Diff to previous 1.54 (colored)

Disable C++ and fat binary support when using Sun Studio, they don't build.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Nov 21 11:27:31 2008 UTC (15 years, 4 months ago) by bjs
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.53: +17 -7 lines
Diff to previous 1.53 (colored)

Enable building the fat binary unless we're using Darwin;
this seems to make the most sense for bulk builds to me.
Should any other platforms fail, we can make a note of it
and exclude them along with Darwin.

Also, add two distribution patches from upstream:

[2008-11-09]
	When calling mpf_set_str (perhaps indirectly via
	mpf_init_set_str or mpf_inp_str, or via the C++ interface) with the
	argument for the base set to 0, any exponent will be ignored.
[2008-11-08]
	The mpf_eq function sometimes compares too few bits, not
	just too many (the latter is documented).
	This might lead to precision loss. When the experimental
	--enable-nails feature is enabled at the same time --enable-cxx is
	enabled, make check fails. This failure is actually due to bugs
	in tests/cxx/t-prec.cc, which makes it use mpf_eq incorrectly.
	This patch makes mpf_eq compare the right number of bits,
	neither too few, nor to many.
	The patch also fixes the test case, and documentation.

	(not strictly necessary, but I figured I'd keep in line with
	their recommendations)

PKGREVISION++

Revision 1.53 / (download) - annotate - [select for diffs], Thu Oct 9 10:56:16 2008 UTC (15 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Update to 4.2.4:

Changes between GMP version 4.2.3 and 4.2.4

  Bugs:
  * Fix bug with parsing exponent '+' sign in mpf.
  * Fix an allocation bug in mpf_set_str, also affecting mpf_init_set_str, and
    mpf_inp_str.

  Speedups:
  * None, except that proper processor recognition helps affected processors.

  Features:
  * Recognize new AMD processors.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Aug 17 07:56:11 2008 UTC (15 years, 8 months ago) by bjs
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.51: +9 -9 lines
Diff to previous 1.51 (colored)

Update to gmp-4.2.3.

Changes between GMP version 4.2.2 and 4.2.3:

  Bugs:
  * Fix x86 CPU recognition code to properly identify recent AMD and Intel
    64-bit processors.
  * The >> operator of the C++ wrapper gmpxx.h now does floor rounding, not
    truncation.
  * Inline semantics now follow the C99 standard, and works with recent GCC
    releases.
  * C++ bitwise logical operations work for more types.
  * For C++, gmp.h now includes cstdio, improving compiler compatibility.
  * Bases > 36 now work properly in mpf_set_str.

  Speedups:
  * None, except that proper processor recognition helps affected processors.

  Features:
  * The allocation functions now detect overflow of the mpz_t type.  This means
    that overflow will now cause an abort, except when the allocation
    computation itself overflows.  (Such overflow can probably only happen in
    powering functions; we will detect powering overflow in the future.)

Revision 1.51 / (download) - annotate - [select for diffs], Tue Apr 1 00:57:09 2008 UTC (16 years ago) by bjs
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, cwrapper
Changes since 1.50: +6 -1 lines
Diff to previous 1.50 (colored)


Add distribution patch (from gmplib.org) for the following bug:

    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.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Mar 11 18:47:40 2008 UTC (16 years, 1 month ago) by tnn
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Put back a couple of IRIX conditionals the way they used to behave,
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.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Dec 2 13:04:08 2007 UTC (16 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Update HOMEPAGES and MASTER_SITES; from Sergey Svishchev.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Nov 25 08:35:31 2007 UTC (16 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.47: +5 -2 lines
Diff to previous 1.47 (colored)

Sunpro accepts __attribute__((mode ...)), but ignores it. Fixed the
configure test and reported it upstream.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Nov 7 00:18:17 2007 UTC (16 years, 5 months ago) by gdt
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

comment out LICENESE for now.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Oct 30 01:36:59 2007 UTC (16 years, 5 months ago) by bjs
Branch: MAIN
Changes since 1.45: +21 -3 lines
Diff to previous 1.45 (colored)


Update to version 4.2.2.  Support DESTDIR installation.  Add option
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.)

Revision 1.45 / (download) - annotate - [select for diffs], Tue Oct 16 23:49:02 2007 UTC (16 years, 6 months ago) by tnn
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jun 18 02:45:31 2007 UTC (16 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.43: +6 -1 lines
Diff to previous 1.43 (colored)

Don't use x86 assembly on Darwin, as it doesn't build.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Feb 22 19:01:17 2007 UTC (17 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

pkglint cleanup; update HOMEPAGE/MASTER_SITES.
From Sergey Svishchev in private mail.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Dec 9 03:38:16 2006 UTC (17 years, 4 months ago) by jnemeth
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.41: +2 -3 lines
Diff to previous 1.41 (colored)

Update to GNU MP 4.2.1

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.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Dec 2 22:32:59 2006 UTC (17 years, 4 months ago) by jschauma
Branch: MAIN
Changes since 1.40: +2 -8 lines
Diff to previous 1.40 (colored)

Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing.
May need to be reviewed/added for other compilers.
ok rillig@

Revision 1.40 / (download) - annotate - [select for diffs], Sun Oct 22 19:49:07 2006 UTC (17 years, 5 months ago) by schwarz
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)


corrected LOWER_OPSYS matching for IRIX 5

Revision 1.39 / (download) - annotate - [select for diffs], Thu Mar 30 03:44:43 2006 UTC (18 years ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.38: +2 -3 lines
Diff to previous 1.38 (colored)

* Honor PKGINFODIR.
* List the info files directly in the PLIST.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Mar 4 21:29:15 2006 UTC (18 years, 1 month ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
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.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Oct 21 15:46:43 2005 UTC (18 years, 6 months ago) by jschauma
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.36: +7 -1 lines
Diff to previous 1.36 (colored)

Make this work on IRIX, by passing -c99 (if mipspro is used) and by
ensuring that the conftests are actually removed and therefor capabilities
can actually be detected (rather than configure failing for them)

Revision 1.36 / (download) - annotate - [select for diffs], Sun May 22 20:07:51 2005 UTC (18 years, 11 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison

Revision 1.35 / (download) - annotate - [select for diffs], Mon Apr 11 21:45:24 2005 UTC (19 years ago) by tv
Branch: MAIN
Changes since 1.34: +1 -2 lines
Diff to previous 1.34 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Mar 15 15:51:30 2005 UTC (19 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

Add patch provided by Richard Earnshaw in PR 23181:
"GMP does not handle pure-endian FP on ARM"
Bump PKGREVISION.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Feb 21 20:26:10 2005 UTC (19 years, 1 month ago) by hubertf
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Sign over maintainership to tech-pkg@

Revision 1.32 / (download) - annotate - [select for diffs], Sat Dec 18 15:43:19 2004 UTC (19 years, 4 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.31: +6 -1 lines
Diff to previous 1.31 (colored)

set ABI=o32 on irix5, as gmp only supports o32 on irix5.

fixes PR pkg/28072 from Georg Schwarz.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Nov 22 13:58:28 2004 UTC (19 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.30: +2 -4 lines
Diff to previous 1.30 (colored)

Changes 4.1.4:
* 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.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Oct 3 00:13:28 2004 UTC (19 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
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.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Aug 18 12:41:32 2004 UTC (19 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.28: +9 -9 lines
Diff to previous 1.28 (colored)

Changes 4.1.3:
* Bug fixes.
* mpz_export allows NULL for countp parameter.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Feb 14 17:21:37 2004 UTC (20 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.27: +1 -3 lines
Diff to previous 1.27 (colored)

LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 12 09:00:29 2004 UTC (20 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

This package uses C++.  Also some reorg to improve readability.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Feb 1 01:43:28 2004 UTC (20 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

In the new compiler selection framework, GCC_REQD is appended to, not
overridden.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jan 19 13:15:52 2004 UTC (20 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.24: +4 -2 lines
Diff to previous 1.24 (colored)

bl3ify

Revision 1.24 / (download) - annotate - [select for diffs], Tue Dec 2 21:57:26 2003 UTC (20 years, 4 months ago) by salo
Branch: MAIN
Changes since 1.23: +7 -5 lines
Diff to previous 1.23 (colored)

Add math to CATEGORIES.
Style nits.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Oct 28 22:33:57 2003 UTC (20 years, 5 months ago) by kristerw
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.22: +6 -1 lines
Diff to previous 1.22 (colored)

The configure script thinks gcc 2.95 for ARM is too buggy to use,
so require gcc 3 for arm.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Sep 27 15:09:05 2003 UTC (20 years, 6 months ago) by grant
Branch: MAIN
Changes since 1.21: +3 -5 lines
Diff to previous 1.21 (colored)

use tools.mk for GNU m4.

move a line for clarity.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Sep 17 16:24:37 2003 UTC (20 years, 7 months ago) by grant
Branch: MAIN
Changes since 1.20: +4 -2 lines
Diff to previous 1.20 (colored)

add USE_GCC_SHLIB, reorder some lines a bit for clarity.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Aug 21 20:09:29 2003 UTC (20 years, 8 months ago) by heinz
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

Add correct TEST_TARGET

Revision 1.19 / (download) - annotate - [select for diffs], Sat Aug 9 10:44:42 2003 UTC (20 years, 8 months ago) by seb
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

USE_NEW_TEXINFO is unnecessary now.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jul 17 21:30:48 2003 UTC (20 years, 9 months ago) by grant
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

s/netbsd.org/NetBSD.org/

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jun 23 11:02:22 2003 UTC (20 years, 10 months ago) by seb
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Convert to USE_NEW_TEXINFO.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 21 12:25:22 2003 UTC (21 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Update to gmp 4.1.2.  Many changes, but the relevant bug fixes seems to be:

	* 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.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jan 2 20:30:59 2003 UTC (21 years, 3 months ago) by hubertf
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

fix dependency for m4

Revision 1.14 / (download) - annotate - [select for diffs], Sun Aug 25 21:49:41 2002 UTC (21 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Sun Aug 25 21:20:03 2002 UTC (21 years, 7 months ago) by jlam
Branch: buildlink2
Changes since 1.12.2.1: +3 -3 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Merge changes in the main trunk into the buildlink2 branch for those
packages that have been converted to USE_BUILDLINK2.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 24 00:39:06 2002 UTC (21 years, 7 months ago) by mjl
Branch: MAIN
CVS Tags: buildlink2-base
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

Update to 4.1

* 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.)

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:29:49 2002 UTC (21 years, 10 months ago) by jlam
Branch: buildlink2
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Convert to use buildlink2 framework.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 12 14:12:18 2002 UTC (22 years ago) by jschauma
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, netbsd-1-5-PATCH003
Branch point for: buildlink2
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)



Build C++ library, too.
(Commit approved by hubertf)

Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 10 12:37:53 2002 UTC (22 years ago) by hubertf
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Update gmp to 4.0.1. Changes:

* 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.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 18 15:14:11 2002 UTC (22 years, 2 months ago) by seb
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

Introduce new framework for handling info files generation and installation.

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.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 2 16:46:02 2001 UTC (22 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Mark as USE_BUILDLINK_ONLY.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 27 03:19:51 2001 UTC (23 years ago) by hubertf
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Change BUILD_DEPENDS semantics:
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>

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 23 14:15:28 2001 UTC (23 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored)

Use GNU m4; on macppc, NetBSD m4 seems to have a problem here.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 16 14:38:28 2001 UTC (23 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 31 14:05:29 2000 UTC (23 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Update to 3.1.1.

Split patch-aa into a patch per file while I'm here.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 30 16:52:53 2000 UTC (23 years, 9 months ago) by danw
Branch: MAIN
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-4-PATCH003
Changes since 1.3: +9 -7 lines
Diff to previous 1.3 (colored)

Update to gmp-3.0.1, including new functions, autoconf/libtool support,
and a shared version of the library.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 26 18:07:19 1999 UTC (24 years, 3 months ago) by tron
Branch: MAIN
CVS Tags: netbsd-1-4-PATCH002
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Use "${MASTER_SITE_GNU}" instead of hard coding "ftp.gnu.org".

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 30 01:51:59 1999 UTC (24 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, comdex-fall-1999
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Add a homepage while I'm here.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Apr 5 19:48:59 1999 UTC (25 years ago) by hubertf
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

GNU Multiple Precision Arithmetic Library

Revision 1.1 / (download) - annotate - [select for diffs], Mon Apr 5 19:48:59 1999 UTC (25 years ago) by hubertf
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>