jkim 2010-07-19 22:25:04 UTC
FreeBSD ports repository
Modified files:
devel/boost-libs Makefile
Added files:
devel/boost-libs/files patch-boost_asio-ioctl
Log:
Fix Boost.Asio to accept 'unsigned long' type ioctl(2) command.
Although POSIX says the type is 'int', all BSD variants (including Mac OS X)
have been using 'unsigned long' type for very long time and its use predates
the standard long enough. For certain commands (e.g., FIONBIO), the integer
value may get sign-extended on 64-bit platforms (by implicit type promotion)
and it causes annoying warnings from kernel such as this:
WARNING pid 24509 (python2.6): ioctl sign-extension ioctl ffffffff8004667e
Approved by: [email protected] (maintainer timeout)
Revision Changes Path
1.6 +1 -0 ports/devel/boost-libs/Makefile
1.1 +90 -0 ports/devel/boost-libs/files/patch-boost_asio-ioctl (new)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"