Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] boost: backport a regression fix for forgotten header
@ 2017-05-15 11:54 Dmitry Rozhkov
  2017-05-29  9:11 ` Puustinen, Ismo
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Rozhkov @ 2017-05-15 11:54 UTC (permalink / raw)
  To: openembedded-core

The v1.64 release has broken array serialization code with issues
reported in

https://svn.boost.org/trac/boost/ticket/12516
https://github.com/bmwcarit/meta-ros/issues/505

Backport the fix from boost::serialization's master.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
---
 ...or-which-appeared-when-compiling-non-c-co.patch | 28 ++++++++++++++++++++++
 meta/recipes-support/boost/boost_1.64.0.bb         |  1 +
 2 files changed, 29 insertions(+)
 create mode 100644 meta/recipes-support/boost/boost/0001-correct-error-which-appeared-when-compiling-non-c-co.patch

diff --git a/meta/recipes-support/boost/boost/0001-correct-error-which-appeared-when-compiling-non-c-co.patch b/meta/recipes-support/boost/boost/0001-correct-error-which-appeared-when-compiling-non-c-co.patch
new file mode 100644
index 0000000..2598d2b
--- /dev/null
+++ b/meta/recipes-support/boost/boost/0001-correct-error-which-appeared-when-compiling-non-c-co.patch
@@ -0,0 +1,28 @@
+From 02fa5cee1b8d0321787113e2dc10b162c657f333 Mon Sep 17 00:00:00 2001
+From: Robert Ramey <ramey@rrsd.com>
+Date: Wed, 1 Feb 2017 16:43:59 -0800
+Subject: [PATCH] correct error which appeared when compiling non c++ compliant
+ code for arrays
+
+Upstream-Status: Backported [expected to be released in v1.65]
+
+---
+ boost/serialization/array.hpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/boost/serialization/array.hpp b/boost/serialization/array.hpp
+index 61708b3..612d1a6 100644
+--- a/boost/serialization/array.hpp
++++ b/boost/serialization/array.hpp
+@@ -23,6 +23,8 @@ namespace std{
+ } // namespace std
+ #endif
+ 
++#include <boost/serialization/array_wrapper.hpp>
++
+ #ifndef BOOST_NO_CXX11_HDR_ARRAY
+ 
+ #include <array>
+-- 
+2.9.3
+
diff --git a/meta/recipes-support/boost/boost_1.64.0.bb b/meta/recipes-support/boost/boost_1.64.0.bb
index 119eb0a..d1c20e1 100644
--- a/meta/recipes-support/boost/boost_1.64.0.bb
+++ b/meta/recipes-support/boost/boost_1.64.0.bb
@@ -9,4 +9,5 @@ SRC_URI += "\
     file://0001-Apply-boost-1.62.0-no-forced-flags.patch.patch \
     file://0003-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \
     file://0002-Don-t-set-up-m32-m64-we-do-that-ourselves.patch \
+    file://0001-correct-error-which-appeared-when-compiling-non-c-co.patch \
 "
-- 
2.9.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] boost: backport a regression fix for forgotten header
  2017-05-15 11:54 [PATCH] boost: backport a regression fix for forgotten header Dmitry Rozhkov
@ 2017-05-29  9:11 ` Puustinen, Ismo
  0 siblings, 0 replies; 2+ messages in thread
From: Puustinen, Ismo @ 2017-05-29  9:11 UTC (permalink / raw)
  To: dmitry.rozhkov@linux.intel.com,
	openembedded-core@lists.openembedded.org

On Mon, 2017-05-15 at 14:54 +0300, Dmitry Rozhkov wrote:
> The v1.64 release has broken array serialization code with issues
> reported in
> 
> https://svn.boost.org/trac/boost/ticket/12516
> https://github.com/bmwcarit/meta-ros/issues/505
> 
> Backport the fix from boost::serialization's master.

This is pretty important patch -- Refkit doesn't compile with latest
oe-core without the patch.

Ismo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-29  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-15 11:54 [PATCH] boost: backport a regression fix for forgotten header Dmitry Rozhkov
2017-05-29  9:11 ` Puustinen, Ismo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox