Changes for boost 1.38.0 on Windows.

This commit is contained in:
lotodore
2009-02-22 20:43:45 +00:00
parent e7c70ad9ad
commit 8a02490262
3 changed files with 4 additions and 20 deletions
@@ -1,11 +0,0 @@
--- boost_orig\boost\date_time\tz_db_base.hpp 2008-02-27 21:00:24.000000000 +0100
+++ boost\boost\date_time\tz_db_base.hpp 2009-02-18 20:39:09.501600000 +0100
@@ -158,7 +158,7 @@
typedef typename time_zone_type::base_type time_zone_base_type;
typedef typename time_zone_type::time_duration_type time_duration_type;
typedef time_zone_names_base<char_type> time_zone_names;
- typedef dst_adjustment_offsets<time_duration_type> dst_adjustment_offsets;
+ typedef boost::date_time::dst_adjustment_offsets<time_duration_type> dst_adjustment_offsets;
typedef std::basic_string<char_type> string_type;
//! Constructs an empty database
@@ -184,24 +184,18 @@ cd /d %PKTH_BaseDir%
if not exist %PKTH_BaseDir%\boost. (
echo.
echo Downloading boost and bjam
%PKTH_OldDir%\third_party_apps\curl -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost_1_37_0.7z -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost-jam-3.1.17-1-ntx86.zip
%PKTH_OldDir%\third_party_apps\curl -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost_1_38_0.7z -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost-jam-3.1.17-1-ntx86.zip
if not errorlevel 0 goto downloadFailed
echo.
echo Unpacking boost and bjam
%PKTH_OldDir%\third_party_apps\7za x -y boost_1_37_0.7z
%PKTH_OldDir%\third_party_apps\7za x -y boost_1_38_0.7z
%PKTH_OldDir%\third_party_apps\7za x -y boost-jam-3.1.17-1-ntx86.zip
REM Wait 5 seconds for the file cache, else ren might fail.
@ping 127.0.0.1 -n 5 -w 1000 > nul
move boost-jam-3.1.17-1-ntx86\bjam.exe mingw\bin\bjam.exe
move boost-jam-3.1.17-1-ntx86\LICENSE_1_0.txt mingw\bin\bjam_LICENSE_1_0.txt
rd boost-jam-3.1.17-1-ntx86
ren boost_1_37_0 boost
echo.
echo Patching boost
cd boost
copy %PKTH_OldDir%\helper_src\boost.patch .
%PKTH_OldDir%\third_party_apps\pat_ch -p1 -i boost.patch
cd /d %PKTH_BaseDir%
ren boost_1_38_0 boost
)
echo.
echo Compiling boost