[Bug 209101] textproc/htdig: Fix build error due to nonexistent ETIME

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 27 17:15:09 UTC 2016


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

            Bug ID: 209101
           Summary: textproc/htdig: Fix build error due to nonexistent
                    ETIME
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dim at FreeBSD.org

Created attachment 169762
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169762&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list