FreeBSD Bugzilla – Attachment 126033 Details for
Bug 169755
devel/boost-libs producing ioctl sign-extension errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
169755-boost-libs.diff
169755-boost-libs.diff (text/plain; charset=UTF-8), 1.51 KB, created by
R.Mahmatkhanov
on 2012-07-10 11:56:39 UTC
(
hide
)
Description:
169755-boost-libs.diff
Filename:
MIME Type:
Creator:
R.Mahmatkhanov
Created:
2012-07-10 11:56:39 UTC
Size:
1.51 KB
patch
obsolete
>? 169755-boost-libs.diff >Index: files/patch-boost_asio-ioctl >=================================================================== >RCS file: /home/pcvs/ports/devel/boost-libs/files/patch-boost_asio-ioctl,v >retrieving revision 1.2 >diff -u -r1.2 patch-boost_asio-ioctl >--- files/patch-boost_asio-ioctl 27 Dec 2010 20:53:10 -0000 1.2 >+++ files/patch-boost_asio-ioctl 10 Jul 2012 10:57:17 -0000 >@@ -1,23 +1,29 @@ >---- boost/asio/detail/io_control.hpp.orig 2010-12-06 01:32:39.000000000 +0300 >-+++ boost/asio/detail/io_control.hpp 2010-12-06 01:37:34.000000000 +0300 >-@@ -44,7 +44,7 @@ >+--- boost/asio/detail/io_control.hpp.orig 2011-06-06 03:21:43.000000000 +0400 >++++ boost/asio/detail/io_control.hpp 2012-07-10 13:24:45.000000000 +0400 >+@@ -44,9 +44,9 @@ > } > > // Get the name of the IO control command. > - int name() const > + ioctl_cmd_type name() const > { >- return FIONBIO; >+- return static_cast<int>(FIONBIO); >++ return static_cast<ioctl_cmd_type>(FIONBIO); > } >-@@ -94,7 +94,7 @@ >+ >+ // Set the value of the I/O control command. >+@@ -94,9 +94,9 @@ > } > > // Get the name of the IO control command. > - int name() const > + ioctl_cmd_type name() const > { >- return FIONREAD; >+- return static_cast<int>(FIONREAD); >++ return static_cast<ioctl_cmd_type>(FIONREAD); > } >+ >+ // Set the value of the I/O control command. > --- boost/asio/detail/descriptor_ops.hpp.orig 2010-12-06 01:55:08.000000000 +0300 > +++ boost/asio/detail/descriptor_ops.hpp 2010-12-06 01:55:39.000000000 +0300 > @@ -79,7 +79,7 @@
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169755
:
126032
| 126033