[packages/browser-plugin-esteid] BOOST_FILESYSTEM V2 is gone in boost 1.50

baggins baggins at pld-linux.org
Thu Jul 12 20:05:59 CEST 2012


commit b6d66787b371ba6ed9c086b62d3945a6a417c382
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Jul 12 20:05:17 2012 +0200

    BOOST_FILESYSTEM V2 is gone in boost 1.50

 boost-1.50.patch           | 23 +++++++++++++++++++++++
 browser-plugin-esteid.spec |  3 +++
 2 files changed, 26 insertions(+)
---
diff --git a/boost-1.50.patch b/boost-1.50.patch
new file mode 100644
index 0000000..a015b55
--- /dev/null
+++ b/boost-1.50.patch
@@ -0,0 +1,23 @@
+--- browser-plugin-esteid-1.3.3/projects/esteid-browser-plugin-1.3.3/PluginSettings.cpp.orig	2011-07-01 12:10:06.000000000 +0200
++++ browser-plugin-esteid-1.3.3/projects/esteid-browser-plugin-1.3.3/PluginSettings.cpp	2012-07-12 20:00:41.041515263 +0200
+@@ -23,10 +23,10 @@
+ #include <stdlib.h>
+ #endif
+ 
+-#define BOOST_FILESYSTEM_VERSION 2
+ #include <fstream>
+ #include <boost/filesystem/path.hpp>
+ #include <boost/filesystem/fstream.hpp>
++#include <boost/filesystem/operations.hpp>
+ #include <boost/foreach.hpp>
+ #include <boost/property_tree/ptree.hpp>
+ #include <boost/property_tree/xml_parser.hpp>
+@@ -62,7 +62,7 @@
+ #ifdef _WIN32
+     return path(getenv("APPDATA"), native);
+ #else // UNIX
+-    path home(getenv("HOME"), native);
++    path home(getenv("HOME"));
+ # ifdef __APPLE__
+     return home / "Library/Application Support";
+ # else
diff --git a/browser-plugin-esteid.spec b/browser-plugin-esteid.spec
index 74cacfa..c8c8c9c 100644
--- a/browser-plugin-esteid.spec
+++ b/browser-plugin-esteid.spec
@@ -21,6 +21,7 @@ Source0:	http://firebreath.googlecode.com/files/firebreath-%{firebreath_version}
 # Source1Download: http://code.google.com/p/esteid/downloads/list
 Source1:	http://esteid.googlecode.com/files/esteid-browser-plugin-%{version}.tar.bz2
 # Source1-md5:	d9af514fb8fa251e9039340f7063eb12
+Patch0:		boost-1.50.patch
 URL:		http://code.google.com/p/esteid/
 BuildRequires:	boost-devel
 BuildRequires:	cmake
@@ -77,6 +78,8 @@ tar xf %{SOURCE1} -C projects
 %{__rm} -rv src/3rdParty/boost
 %{__rm} -rv src/libs
 
+%patch0 -p1
+
 %build
 install -d build
 cd build


More information about the pld-cvs-commit mailing list