Created attachment 170375 [details] Fix type for abs() call in editors/kate During the exp-run in bug 208158, it was found that editors/kate gives errors with libc++ 3.8.0 [1]: /wrkdirs/usr/ports/editors/kate/work/kate-4.14.3/part/view/kateviewhelpers.cpp:1706:24: error: call to 'abs' is ambiguous int diff = abs(realLine - currentLine); ^~~ This is because 'realLine' is int, and 'currentLine' is unsigned, making the whole expression unsigned. Make 'currentLine' int to fix the problem. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-05-01_10h29m48s/logs/errors/kate-4.14.3_1.log
Committed, thanks!
A commit references this bug: Author: pi Date: Tue May 24 20:14:19 UTC 2016 New revision: 415809 URL: https://svnweb.freebsd.org/changeset/ports/415809 Log: editors/kate: Fix build with libc++ 3.8.0 PR: 209561 Submitted by: dim Approved by: kde Changes: head/editors/kate/files/patch-part_view_kateviewhelpers.cpp