Date: Mon, 19 Jul 2010 22:25:04 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/devel/boost-libs Makefile ports/devel/boost-libs/files patch-boost_asio-ioctl Message-ID: <201007192225.o6JMP45x023144@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007192225.o6JMP45x023144>