Commit graph

13 commits

Author SHA1 Message Date
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Baptiste Daroussin
ce5e457020 Add NO_STAGE all over the place in preparation for the staging support (cat: math) 2013-09-20 20:55:04 +00:00
Stephen Montgomery-Smith
83d7fd8ac9 - Remove .include <bsd.ports.pre.mk>; bsd.ports.post.mk to bsd.ports.mk;
${PORTSDIR} to ${.CURDIR}/../.. in the .include for bsd.octave.mk.
  This is because USE_GMAKE no longer works after .include <bsd.ports.pre.mk>.
- Trim headers.
- Clean whitespace.
- Portlint.
2013-07-05 20:59:44 +00:00
Stephen Montgomery-Smith
8f572afa6d - Update to 1.3.1. 2012-08-30 01:26:20 +00:00
Stephen Montgomery-Smith
bed9ea66f5 - Update to 1.3.0. 2012-08-26 00:04:16 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Maho Nakata
176d84eb28 Bump port revision of all the octave-forge ports,
since there was an API change to octave (from 3.4 to 3.6).
Now it is appropriate to bump the portrevision of every single octave-forge port,
but a few of the ports needed further patches to make them work: ad,
communications, parallel, odepkg. The es package doesn't build so we switched off.

Submitted by:	stephen@
Reviewed by:	maho@
2012-04-11 02:58:30 +00:00
Stephen Montgomery-Smith
60c3e84c21 - Add missing run_depends.
- Bump portrevision.
2012-01-07 01:07:17 +00:00
Stephen Montgomery-Smith
05f9561955 - Update to 1.2.0.
Feature safe:	yes
2011-12-09 22:35:53 +00:00
Stephen Montgomery-Smith
df56e1f431 - Cosmetic change to Makefile. Use the variable OCTSRC to describe where the
contents of the package are stored.  This should make it easier if other
  people take over maintainership of the octave-forge-* ports.

Feature safe:	yes
2011-11-21 01:17:40 +00:00
Stephen Montgomery-Smith
82e0cfb790 - Update to 1.1.0. 2011-10-06 04:45:15 +00:00
Stephen Montgomery-Smith
4e0627bea6 - Update to 1.0.1. 2011-09-28 03:43:50 +00:00
Stephen Montgomery-Smith
57e974a840 - New port: math/octave-forge-mechanics.
The octave-forge package is the result of The GNU Octave Repositry project,
which is intended to be a central location for custom scripts, functions and
extensions for GNU Octave. contains the source for all the functions plus
build and install scripts.

This is mechanics.

 Library with functions useful for numerical computation in classical mechanics.
2011-09-27 17:01:49 +00:00