Andrea Venturoli <m...@netfence.it> writes:

> Due to the latest vulnerabilities, I'm trying to upgrade FireFox, but
> it stops on this error:
>
> In file included from
> /tmp/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-freebsd9.3/content/media/Unified_cpp_content_media1.cpp:29:
> /tmp/usr/ports/www/firefox/work/mozilla-release/content/media/MediaDecoderStateMachine.cpp:1315:7:
> error: call to 'abs' is ambiguous
>       std::abs(aDuration - duration) >
> ESTIMATED_DURATION_FUZZ_FACTOR_USECS) {
>       ^~~~~~~~
> /usr/include/stdlib.h:83:6: note: candidate function
> int      abs(int) __pure2;
>          ^
> /usr/include/c++/4.2/cmath:89:3: note: candidate function
>   abs(double __x)
>   ^
> /usr/include/c++/4.2/cmath:93:3: note: candidate function
>   abs(float __x)
>   ^
> /usr/include/c++/4.2/cmath:97:3: note: candidate function
>   abs(long double __x)
>   ^
> /usr/include/c++/4.2/cstdlib:143:3: note: candidate function
>   abs(long __i) { return labs(__i); }
>   ^
> 1 error generated.

Already reported. std::abs(int64_t) for 32bit archs or std::llabs are not
available in base libstdc++ or before 10.0-RELEASE (r255294) for libstdc++
in lang/gcc47 and earlier (libstdc++/54686).

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196772

-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to