summaryrefslogtreecommitdiffstats
path: root/package/zmqpp/zmqpp-fix-typos-in-code.patch
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2013-03-25 13:28:03 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-27 09:54:27 +0100
commita427c0e62182979f982961c5fed4909a0ccf28be (patch)
tree7b2171565a452f51acffcf1330f27cc582a205f7 /package/zmqpp/zmqpp-fix-typos-in-code.patch
parent5514b7a520dea993e05d6fcddc40e4d55f467b7c (diff)
downloadbuildroot-novena-a427c0e62182979f982961c5fed4909a0ccf28be.tar.gz
buildroot-novena-a427c0e62182979f982961c5fed4909a0ccf28be.zip
zmqpp: new package
Now that zeromq has been bumped to version 3.2.2, we need to provide the C++ binding using a separate package. The zmqpp package provides a high-level C++ wrapper library around the zeromq C API. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/zmqpp/zmqpp-fix-typos-in-code.patch')
-rw-r--r--package/zmqpp/zmqpp-fix-typos-in-code.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/package/zmqpp/zmqpp-fix-typos-in-code.patch b/package/zmqpp/zmqpp-fix-typos-in-code.patch
new file mode 100644
index 000000000..a873de9d5
--- /dev/null
+++ b/package/zmqpp/zmqpp-fix-typos-in-code.patch
@@ -0,0 +1,46 @@
+Fix a couple of typos in the zmqpp source code.
+
+Signed-off-by: Simon Dawson <spdawson@gmail.com>
+
+diff -Nurp a/src/zmqpp/socket.cpp b/src/zmqpp/socket.cpp
+--- a/src/zmqpp/socket.cpp 2012-12-11 11:06:23.000000000 +0000
++++ b/src/zmqpp/socket.cpp 2013-03-18 17:32:01.464761776 +0000
+@@ -587,7 +587,7 @@ void socket::get(socket_option const& op
+ }
+ }
+
+-socket::socket(socket&& source) noexcept
++socket::socket(socket& source) noexcept
+ : _socket(source._socket)
+ , _type(source._type)
+ , _recv_buffer()
+@@ -601,7 +601,7 @@ socket::socket(socket&& source) noexcept
+ source._socket = nullptr;
+ }
+
+-socket& socket::operator=(socket&& source) noexcept
++socket& socket::operator=(socket& source) noexcept
+ {
+ _socket = source._socket;
+ source._socket = nullptr;
+diff -Nurp a/src/zmqpp/socket.hpp b/src/zmqpp/socket.hpp
+--- a/src/zmqpp/socket.hpp 2012-12-11 11:06:23.000000000 +0000
++++ b/src/zmqpp/socket.hpp 2013-03-18 17:31:53.556790457 +0000
+@@ -400,7 +400,7 @@ public:
+ *
+ * \param source target socket to steal internals from
+ */
+- socket(socket&& source) noexcept;
++ socket(socket& source) noexcept;
+
+ /*!
+ * Move operator
+@@ -413,7 +413,7 @@ public:
+ * \param source target socket to steal internals from
+ * \return socket reference to this
+ */
+- socket& operator=(socket&& source) noexcept;
++ socket& operator=(socket& source) noexcept;
+
+ /*!
+ * Check the socket is still valid