Created attachment 169762 [details] Fix build error due to nonexistent ETIME During the exp-run for bug 208158, I noticed text/htdig didn't build [1]: mut_pthread.c:204:27: error: use of undeclared identifier 'ETIME' if (ret != 0 && ret != ETIME && ret != ETIMEDOUT) ^ This is because the ETIME error code does not exist on FreeBSD, it is a Linuxism. Fix the build by putting this part between #ifdefs. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_18h30m05s/logs/errors/htdig-3.2.0.b6_6.log
A commit references this bug: Author: amdmi3 Date: Tue May 10 18:54:21 UTC 2016 New revision: 414954 URL: https://svnweb.freebsd.org/changeset/ports/414954 Log: - Fix build with libc++ 3.8.0 by ignoring ETIME errno which does not exist on FreeBSD PR: 209101 Submitted by: dim@FreeBSD.org Changes: head/textproc/htdig/files/patch-db_mut__pthread.c