[PATCH libreoffice-4-0] Fix missing include with newer boosts

Fridrich Strba (via Code Review) gerrit at gerrit.libreoffice.org
Mon Mar 25 01:09:25 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2980

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/80/2980/1

Fix missing include with newer boosts

Change-Id: Ia10f1d2c0e949dae67431e5ccfe097bb81058b75
---
M liborcus/UnpackedTarball_orcus.mk
A liborcus/liborcus_0.1.0-boost_noncopyable.patch
2 files changed, 13 insertions(+), 0 deletions(-)



diff --git a/liborcus/UnpackedTarball_orcus.mk b/liborcus/UnpackedTarball_orcus.mk
index 3375c95..5218769 100644
--- a/liborcus/UnpackedTarball_orcus.mk
+++ b/liborcus/UnpackedTarball_orcus.mk
@@ -18,6 +18,8 @@
 orcus_patches += liborcus_0.1.0-configure.patch
 # disable boost "auto lib" in MSVC build
 orcus_patches += liborcus_0.1.0-boost_disable_auto_lib.patch
+# include boost/noncopyable.hpp
+orcus_patches += liborcus_0.1.0-boost_noncopyable.patch
 
 $(eval $(call gb_UnpackedTarball_fix_end_of_line,orcus,\
 	vsprojects/liborcus-static-nozip/liborcus-static-nozip.vcproj \
diff --git a/liborcus/liborcus_0.1.0-boost_noncopyable.patch b/liborcus/liborcus_0.1.0-boost_noncopyable.patch
new file mode 100644
index 0000000..abf87da
--- /dev/null
+++ b/liborcus/liborcus_0.1.0-boost_noncopyable.patch
@@ -0,0 +1,11 @@
+--- src/liborcus/dom_tree.cpp	2012-11-28 13:21:10.000000000 +0100
++++ src/liborcus/dom_tree.cpp	2013-03-25 09:01:58.405649302 +0100
+@@ -31,6 +31,8 @@
+ 
+ #include "string_pool.hpp"
+ 
++#include <boost/noncopyable.hpp> // for boost::noncopyable
++
+ #include <iostream>
+ #include <sstream>
+ 

-- 
To view, visit https://gerrit.libreoffice.org/2980
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia10f1d2c0e949dae67431e5ccfe097bb81058b75
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Fridrich Strba <fridrich at documentfoundation.org>



More information about the LibreOffice mailing list