DragonFly bugs List (threaded) for 2012-07
[DragonFlyBSD - Bug #2393] ETIME not defined in /usr/include/errno.h, current pkgsrc libdrm 2.4.37 intel_bufmgr_gem.c won't build
Issue #2393 has been updated by Sascha Wildner.
Hmm, can this be brought to the libdrm people's attention, please?
We don't have ETIME at all (I don't see it being under #ifndef _POSIX_SOURCE as it is claimed in http://mail-index.netbsd.org/pkgsrc-bugs/2012/07/03/msg048227.html).
It's marked both optional and obsolescent in current OpenGroup Specs -> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html
I don't think the solution is to add it to our errno.h. It would be the first package I know of that requires it.
Bug #2393: ETIME not defined in /usr/include/errno.h, current pkgsrc libdrm 2.4.37 intel_bufmgr_gem.c won't build
Author: David Shao
/usr/include/errno.h from latest DEVEL-3.1 does not appear to define ETIME. ETIME appears to be associated with STREAMS as an option in the POSIX standard; therefore, if STREAMS is not implemented, there may be good reason for it to not be defined.
Even if ETIME is to be deliberately not defined, there needs to be some recommendation on what its value should be for porting applications such as libdrm 2.4.37.
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account