cvs commit: ports/devel/boost-libs Makefile ports/devel/boost-libs/files patch-boost_asio-ioctl

Jung-uk Kim jkim at FreeBSD.org
Mon Jul 19 22:25:04 UTC 2010


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:    churanov.port.maintainer at gmail.com (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)


More information about the cvs-ports mailing list