tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Updating math/mpcomplex



With the latest pkgsrc math/mpcomplex fails to build for me with the following:

/bin/sh ../libtool  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I..   -I/usr/pkg/include   -O2 -pipe -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT mul.lo -MD -MP -MF .deps/mul.Tpo -c -o mul.lo mul.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/var/obj/pkg/math/mpcomplex/work/.buildlink/include -O2 -pipe -D_FORTIFY_SOURCE=2 -MT mul.lo -MD -MP -MF .deps/mul.Tpo -c mul.c  -fPIC -DPIC -o .libs/mul.o
mul.c:175:1: error: conflicting types for 'mpfr_fmma'
 mpfr_fmma (mpfr_ptr z, mpfr_srcptr a, mpfr_srcptr b, mpfr_srcptr c,
 ^
In file included from mpc.h:25:0,
                 from mpc-impl.h:30,
                 from mul.c:22:
/var/obj/pkg/math/mpcomplex/work/.buildlink/include/mpfr.h:731:21: note: previous declaration of 'mpfr_fmma' was here
 __MPFR_DECLSPEC int mpfr_fmma (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_srcptr,
                     ^

I'd updated from 1.0.3 to 1.1.0 locally and everything seems to work (my test case was building gcc48 to then build xentool48).

Changelog below - any reason I shouldn't commit (and do I need to PKGREVISION biump anything - the new version updates from libmpc.so.3.0.0 to libmpc.so.3.1.0

David

Changes in version 1.1.0:
  - Minimally required library versions: GMP 5.0.0 and MPFR 3.0.0
  - Fixed issues with MPFR 4.0.0
  - New functions: mpc_cmp_abs, mpc_rootofunity
  - Improved speed for corner cases of mpc_asin, mpc_sin, see
    http://lists.gforge.inria.fr/pipermail/mpc-discuss/2013-December/001266.html
  - Rewrite of the testing framework
  - New mpcbench tool, used with "make bench"
  - Fixed handling of over- and underflows with directed rounding in the
    "other direction" for mpc_cos, mpc_sin, mpc_exp and mpc_pow, see
    http://lists.gforge.inria.fr/pipermail/mpc-discuss/2015-March/001336.html
  - Fixed a bug in mpc_atan(0,y) with |y| near 1, see
    http://lists.gforge.inria.fr/pipermail/mpc-discuss/2017-March/001404.html



Home | Main Index | Thread Index | Old Index