about summary refs log tree commit diff
path: root/pkgs/development/libraries/boost/cygwin-fedora-boost-1.57.0-move-is_class.patch
diff options
context:
space:
mode:
authorRok Garbas <rok@garbas.si>2015-06-04 18:45:17 +0200
committerRok Garbas <rok@garbas.si>2015-06-05 00:39:15 +0200
commit8908471ecc1694fd09fa91bf18e88342986e3707 (patch)
tree819cbc51acd0302be75a7a45893061041763424a /pkgs/development/libraries/boost/cygwin-fedora-boost-1.57.0-move-is_class.patch
parentfdc1887a6ea15685ae725f5c8a33e1f699d98294 (diff)
downloadnixlib-8908471ecc1694fd09fa91bf18e88342986e3707.tar
nixlib-8908471ecc1694fd09fa91bf18e88342986e3707.tar.gz
nixlib-8908471ecc1694fd09fa91bf18e88342986e3707.tar.bz2
nixlib-8908471ecc1694fd09fa91bf18e88342986e3707.tar.lz
nixlib-8908471ecc1694fd09fa91bf18e88342986e3707.tar.xz
nixlib-8908471ecc1694fd09fa91bf18e88342986e3707.tar.zst
nixlib-8908471ecc1694fd09fa91bf18e88342986e3707.zip
cygwin: add needed patches for boost 1.57.0 to build
Diffstat (limited to 'pkgs/development/libraries/boost/cygwin-fedora-boost-1.57.0-move-is_class.patch')
-rw-r--r--pkgs/development/libraries/boost/cygwin-fedora-boost-1.57.0-move-is_class.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/libraries/boost/cygwin-fedora-boost-1.57.0-move-is_class.patch b/pkgs/development/libraries/boost/cygwin-fedora-boost-1.57.0-move-is_class.patch
new file mode 100644
index 000000000000..cf9756e40ea4
--- /dev/null
+++ b/pkgs/development/libraries/boost/cygwin-fedora-boost-1.57.0-move-is_class.patch
@@ -0,0 +1,20 @@
+diff -up ./move/core.hpp~ ./move/core.hpp
+--- a/boost/move/core.hpp~	2015-02-09 17:33:35.000000000 +0100
++++ b/boost/move/core.hpp	2015-02-13 13:54:52.012130813 +0100
+@@ -43,6 +43,7 @@
+ #if defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_MOVE_DOXYGEN_INVOKED)
+ 
+    #include <boost/move/detail/meta_utils.hpp>
++   #include <boost/type_traits/is_class.hpp>
+ 
+    //Move emulation rv breaks standard aliasing rules so add workarounds for some compilers
+    #if defined(__GNUC__) && (__GNUC__ >= 4) && \
+@@ -65,7 +66,7 @@
+    template <class T>
+    class rv
+       : public ::boost::move_detail::if_c
+-         < ::boost::move_detail::is_class_or_union<T>::value
++         < ::boost::is_class<T>::value
+          , T
+          , ::boost::move_detail::nat
+          >::type