Created attachment 170419 [details] Include <cmath> so abs(double) can be found During the exp-run in bug 208158, it was found that games/chromium-bsu gives errors with libc++ 3.8.0 [1]: MainSDL_Event.cpp:420:73: error: call to 'abs' is ambiguous if( keystate[SDLK_LEFT] || keystate[SDLK_KP4] ) key_speed_x -= 2.0 + abs(key_speed_x)*0.4; ^~~ This is because key_speed_x is a floating point value, but <cmath> is not included, and abs() for floating point values comes from that header. Fix it by including <cmath>. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-05-01_10h29m48s/logs/errors/chromium-bsu-0.9.15.1_4.log
A commit references this bug: Author: amdmi3 Date: Wed May 18 01:29:30 UTC 2016 New revision: 415422 URL: https://svnweb.freebsd.org/changeset/ports/415422 Log: - Fix build with libc++ 3.8.0 [1] - While here, switch to USES=localbase and update WWW PR: 209591 [1] Submitted by: dim [1] Changes: head/games/chromium-bsu/Makefile head/games/chromium-bsu/pkg-descr
I don't see the patch from here in that commit. Did you forget |svn add| ?
True, thanks for noticing!
A commit references this bug: Author: amdmi3 Date: Wed May 18 03:23:58 UTC 2016 New revision: 415424 URL: https://svnweb.freebsd.org/changeset/ports/415424 Log: - Add forgotten patch for the previous commit PR: 209591 Submitted by: dim Reported by: jbeich Changes: head/games/chromium-bsu/files/ head/games/chromium-bsu/files/patch-src_MainSDL__Event.cpp