1 --- src/rlog/rlog.h~ 2009-10-14 22:29:17.265283827 +0600
2 +++ src/rlog/rlog.h 2009-10-14 22:29:26.515285193 +0600
11 --- src/boost/iostreams/filter/lzma.hpp~ 2009-10-14 22:41:53.878541893 +0600
12 +++ src/boost/iostreams/filter/lzma.hpp 2009-10-14 22:44:12.078529051 +0600
17 -BOOST_IOSTREAMS_DECL extern const lzma_easy_level no_compression;
18 -BOOST_IOSTREAMS_DECL extern const lzma_easy_level best_speed;
19 -BOOST_IOSTREAMS_DECL extern const lzma_easy_level best_compression;
20 -BOOST_IOSTREAMS_DECL extern const lzma_easy_level default_compression;
21 +BOOST_IOSTREAMS_DECL extern const uint32_t no_compression;
22 +BOOST_IOSTREAMS_DECL extern const uint32_t best_speed;
23 +BOOST_IOSTREAMS_DECL extern const uint32_t best_compression;
24 +BOOST_IOSTREAMS_DECL extern const uint32_t default_compression;
31 // Non-explicit constructor.
32 - lzma_params( lzma_easy_level level = lzma::default_compression )
33 + lzma_params( uint32_t level = lzma::default_compression )
36 - lzma_easy_level level;
41 --- src/boost/iostreams/filter/lzma.cpp~ 2009-10-14 22:44:21.335193915 +0600
42 +++ src/boost/iostreams/filter/lzma.cpp 2009-10-14 22:45:44.868520963 +0600
47 -const lzma_easy_level no_compression = LZMA_EASY_COPY;
48 -const lzma_easy_level best_speed = LZMA_EASY_LZMA2_1;
49 -const lzma_easy_level best_compression = LZMA_EASY_LZMA_9;
50 -const lzma_easy_level default_compression = LZMA_EASY_LZMA_7;
51 +const uint32_t no_compression = 0;
52 +const uint32_t best_speed = 1;
53 +const uint32_t best_compression = 9;
54 +const uint32_t default_compression = 2;
59 const int stream_end = LZMA_STREAM_END;
60 const int unsupported_check = LZMA_UNSUPPORTED_CHECK;
61 const int mem_error = LZMA_MEM_ERROR;
62 -const int header_error = LZMA_HEADER_ERROR;
63 +const int header_error = LZMA_OPTIONS_ERROR;
64 const int data_error = LZMA_DATA_ERROR;
65 const int buf_error = LZMA_BUF_ERROR;
66 const int prog_error = LZMA_PROG_ERROR;
71 - lzma_easy_encoder(s, p.level) :
72 + lzma_easy_encoder(s, p.level, LZMA_CHECK_CRC32) :
73 lzma_stream_decoder(s, 100 * 1024 * 1024, 0 )