Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 458856 | Differences between
and this patch

Collapse All | Expand All

(-)src/mapnik.cpp.orig (-2 / +10 lines)
Lines 219-234 Link Here
219
            if ( boost::filesystem::is_regular( dir_itr->status() ) ) {
219
            if ( boost::filesystem::is_regular( dir_itr->status() ) ) {
220
#if BOOST_VERSION < 103600
220
#if BOOST_VERSION < 103600
221
                if (mydebug > 10) cout << "freetype_engine::register_font(" << dir_itr->leaf() << ")" << endl;
221
                if (mydebug > 10) cout << "freetype_engine::register_font(" << dir_itr->leaf() << ")" << endl;
222
#else
222
#elif BOOST_VERSION < 104600
223
                if (mydebug > 10) cout << "freetype_engine::register_font(" << dir_itr->filename() << ")" << endl;
223
                if (mydebug > 10) cout << "freetype_engine::register_font(" << dir_itr->filename() << ")" << endl;
224
#else
225
		if (mydebug > 10) cout << "freetype_engine::register_font(" << dir_itr->path().filename() << ")" << endl;
224
#endif
226
#endif
227
#if BOOST_VERSION < 104600
225
                freetype_engine::register_font( dir_itr->string() );
228
                freetype_engine::register_font( dir_itr->string() );
229
#else
230
		freetype_engine::register_font( dir_itr->path().string() );
231
#endif
226
            }
232
            }
227
        } catch ( const std::exception & ex ) {
233
        } catch ( const std::exception & ex ) {
228
#if BOOST_VERSION < 103600
234
#if BOOST_VERSION < 103600
229
            std::cout << dir_itr->leaf() << " " << ex.what() << std::endl;
235
            std::cout << dir_itr->leaf() << " " << ex.what() << std::endl;
230
#else
236
#elif BOOST_VERSION < 104600
231
            std::cout << dir_itr->filename() << " " << ex.what() << std::endl;
237
            std::cout << dir_itr->filename() << " " << ex.what() << std::endl;
238
#else
239
	    std::cout << dir_itr->path().filename() << " " << ex.what() << std::endl;
232
#endif
240
#endif
233
        }
241
        }
234
242

Return to bug 458856