diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-02-08 15:52:19 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-02-08 15:52:19 +0100 |
commit | 1c8351028000d5f1489dea2c59f14454a4155ad7 (patch) | |
tree | a18451bb5f59d6179272a516370860d6ec02ff25 /main/boost/boost-1.54.0-Fix-macro-for-int128-detection.patch | |
parent | aed3ff03118bc9929395d647c52d54e6908c941e (diff) | |
download | aports-1c8351028000d5f1489dea2c59f14454a4155ad7.tar.bz2 aports-1c8351028000d5f1489dea2c59f14454a4155ad7.tar.xz |
main/boost: upgrade to 1.55.0
Diffstat (limited to 'main/boost/boost-1.54.0-Fix-macro-for-int128-detection.patch')
-rw-r--r-- | main/boost/boost-1.54.0-Fix-macro-for-int128-detection.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/main/boost/boost-1.54.0-Fix-macro-for-int128-detection.patch b/main/boost/boost-1.54.0-Fix-macro-for-int128-detection.patch deleted file mode 100644 index e3e22ec4df..0000000000 --- a/main/boost/boost-1.54.0-Fix-macro-for-int128-detection.patch +++ /dev/null @@ -1,35 +0,0 @@ -Index: a/boost/lexical_cast.hpp
-===================================================================
---- a/boost/lexical_cast.hpp (revision 84136)
-+++ b/boost/lexical_cast.hpp (revision 84965)
-@@ -70,8 +70,8 @@
- #endif
-
--#if (defined(BOOST_LCAST_HAS_INT128) && !defined(__GNUC__)) || GCC_VERSION > 40700
-+// GCC 4.6 has some issues with int128 and uint128. Issues were fixed in GCC 4.7
-+#if defined(BOOST_HAS_INT128) && (!defined(__GNUC__) || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 6))
- #define BOOST_LCAST_HAS_INT128
- #endif
--
-
- namespace boost
-Index: a/libs/conversion/test/lexical_cast_integral_types_test.cpp
-===================================================================
---- a/libs/conversion/test/lexical_cast_integral_types_test.cpp (revision 83717)
-+++ b/libs/conversion/test/lexical_cast_integral_types_test.cpp (revision 84965)
-@@ -49,5 +49,5 @@
- #endif
-
--#if (defined(BOOST_LCAST_HAS_INT128) && !defined(__GNUC__)) || GCC_VERSION > 40700
-+#if defined(BOOST_HAS_INT128) && (!defined(__GNUC__) || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 6))
- #define BOOST_LCAST_HAS_INT128
- #endif
-@@ -445,6 +445,6 @@
-
- // Overflow test case from David W. Birdsall
-- std::string must_owerflow_str = "160000000000000000000";
-- std::string must_owerflow_negative_str = "-160000000000000000000";
-+ std::string must_owerflow_str = (sizeof(T) < 16 ? "160000000000000000000" : "1600000000000000000000000000000000000000");
-+ std::string must_owerflow_negative_str = (sizeof(T) < 16 ? "-160000000000000000000" : "-1600000000000000000000000000000000000000");
- for (int i = 0; i < 15; ++i) {
- BOOST_CHECK_THROW(lexical_cast<T>(must_owerflow_str), bad_lexical_cast);
|