[packages/vcmi] Filesystem V2 is gone in boost 1.50

baggins baggins at pld-linux.org
Wed Jul 11 14:06:13 CEST 2012


commit 5cd1f12e624cdb95a3cb2272c17a0e514cac34fe
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Jul 11 13:52:50 2012 +0200

    Filesystem V2 is gone in boost 1.50

 boost-1.50.patch | 11 +++++++++++
 vcmi.spec        |  5 ++---
 2 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/boost-1.50.patch b/boost-1.50.patch
new file mode 100644
index 0000000..21d3455
--- /dev/null
+++ b/boost-1.50.patch
@@ -0,0 +1,11 @@
+--- vcmi-0.89/Global.h~	2012-05-27 21:06:35.000000000 +0200
++++ vcmi-0.89/Global.h	2012-07-11 13:50:38.816526901 +0200
+@@ -50,7 +50,7 @@
+ #include <cstdlib>
+ 
+ //filesystem version 3 causes problems (and it's default as of boost 1.46)
+-#define BOOST_FILESYSTEM_VERSION 2
++#define BOOST_FILESYSTEM_VERSION 3
+ 
+ #include <boost/algorithm/string.hpp>
+ #include <boost/assert.hpp>
diff --git a/vcmi.spec b/vcmi.spec
index f9691ca..d2e74c9 100644
--- a/vcmi.spec
+++ b/vcmi.spec
@@ -8,6 +8,7 @@ Source0:	http://dl.dropbox.com/u/22372764/vcmi/packages/%{name}_%{version}.tar.g
 # Source0-md5:	3f67cabb2b395f933b0e14c412e0f0f9
 Source1:	http://download.vcmi.eu/%{name}-data_%{version}.tar.gz
 # Source1-md5:	e6018250e5363c440c5dcbf2492eda24
+Patch0:		boost-1.50.patch
 URL:		http://www.vcmi.eu/
 BuildRequires:	SDL-devel
 BuildRequires:	SDL_image-devel
@@ -30,11 +31,9 @@ H3 engine rewrie (not another mod) with new possibilities.
 
 %prep
 %setup
+%patch0 -p1
 
 %build
-#%%{__aclocal}
-#%%{__autoconf}
-#%%{__automake}
 export CXXFLAGSc="%{rpmcflags}"
 %configure
 %{__make}


More information about the pld-cvs-commit mailing list