summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-03-31 08:36:50 +0000
committerwiz <wiz@pkgsrc.org>2014-03-31 08:36:50 +0000
commit3454ad09622fa72bf72f40637db0ad7ce2c7a8eb (patch)
treec9e5e6ed515e81994a678c670aa628f524697e2d /meta-pkgs
parent8cd10b553eae92efab1592349e4e95f7e74c6d59 (diff)
downloadpkgsrc-3454ad09622fa72bf72f40637db0ad7ce2c7a8eb.tar.gz
Fix "implicit conversion changes signedness" warnings in installed
header files. Reported as https://svn.boost.org/trac/boost/ticket/9725 Bump boost-headers PKGREVISION.
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/boost/distinfo3
-rw-r--r--meta-pkgs/boost/patches/patch-boost_dynamic__bitset_dynamic__bitset.hpp34
2 files changed, 36 insertions, 1 deletions
diff --git a/meta-pkgs/boost/distinfo b/meta-pkgs/boost/distinfo
index d085916b4de..8deec2b6f9e 100644
--- a/meta-pkgs/boost/distinfo
+++ b/meta-pkgs/boost/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.64 2014/03/18 15:55:35 ryoon Exp $
+$NetBSD: distinfo,v 1.65 2014/03/31 08:36:51 wiz Exp $
SHA1 (boost_1_55_0.tar.bz2) = cef9a0cc7084b1d639e06cd3bc34e4251524c840
RMD160 (boost_1_55_0.tar.bz2) = de8ef647933a005119425326b59723aad4a6fd4f
@@ -15,6 +15,7 @@ SHA1 (patch-boost_archive_iterators_transform__width.hpp) = 5c08bac63fcc259997a8
SHA1 (patch-boost_asio_detail_config.hpp) = b95ca6b0bb6c805624cb81c91c3f1b691a7425ca
SHA1 (patch-boost_config_stdlib_libcpp.hpp) = d243325d3aeb180e4ed7a1fd7d89782d832fa9fc
SHA1 (patch-boost_config_stdlib_libstdcpp3.hpp) = 173271c60b3e2ba7bb1fe9390dcd864ce9742588
+SHA1 (patch-boost_dynamic__bitset_dynamic__bitset.hpp) = e38ec618da58fdfc086e32ab2c184a0c02ba2ced
SHA1 (patch-boost_math_tools_config.hpp) = 81402bc38dc858d0818ed91e204966c8382be4ff
SHA1 (patch-boost_noncopyable.hpp) = 6567b5932c6bb48e8b2fcae48ff47e0f230fc1b9
SHA1 (patch-libs_config_configure) = e2f204d4fa4f1bd9b4131d28f9be0a1ac22bf711
diff --git a/meta-pkgs/boost/patches/patch-boost_dynamic__bitset_dynamic__bitset.hpp b/meta-pkgs/boost/patches/patch-boost_dynamic__bitset_dynamic__bitset.hpp
new file mode 100644
index 00000000000..c173e5c6bd5
--- /dev/null
+++ b/meta-pkgs/boost/patches/patch-boost_dynamic__bitset_dynamic__bitset.hpp
@@ -0,0 +1,34 @@
+$NetBSD: patch-boost_dynamic__bitset_dynamic__bitset.hpp,v 1.1 2014/03/31 08:36:51 wiz Exp $
+
+Fix "implicit conversion changes signedness" warnings.
+https://svn.boost.org/trac/boost/ticket/9725
+
+--- boost/dynamic_bitset/dynamic_bitset.hpp.orig 2013-09-21 20:17:00.000000000 +0000
++++ boost/dynamic_bitset/dynamic_bitset.hpp
+@@ -1230,7 +1230,7 @@ dynamic_bitset<Block, Allocator>::m_do_f
+ if (i >= num_blocks())
+ return npos; // not found
+
+- return i * bits_per_block + boost::lowest_bit(m_bits[i]);
++ return i * bits_per_block + static_cast<size_type>(boost::lowest_bit(m_bits[i]));
+
+ }
+
+@@ -1261,7 +1261,7 @@ dynamic_bitset<Block, Allocator>::find_n
+ const Block fore = m_bits[blk] & ( ~Block(0) << ind );
+
+ return fore?
+- blk * bits_per_block + lowest_bit(fore)
++ blk * bits_per_block + static_cast<size_type>(lowest_bit(fore))
+ :
+ m_do_find_from(blk + 1);
+
+@@ -1694,7 +1694,7 @@ inline typename dynamic_bitset<Block, Al
+ dynamic_bitset<Block, Allocator>::calc_num_blocks(size_type num_bits)
+ {
+ return num_bits / bits_per_block
+- + static_cast<int>( num_bits % bits_per_block != 0 );
++ + static_cast<size_type>( num_bits % bits_per_block != 0 );
+ }
+
+ // gives a reference to the highest block