From 103ffd254a1323a6aaa3dadf6b97480e54928e5f Mon Sep 17 00:00:00 2001 From: Christian Heim Date: Thu, 25 Jan 2007 17:51:40 +0000 Subject: Fixing compilation of paludis-0.16.0 (when using =gcc-3.4*), bug #163729. (Portage version: 2.1.2-r4) --- sys-apps/paludis/files/paludis-0.16.0-gcc34.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sys-apps/paludis/files/paludis-0.16.0-gcc34.patch (limited to 'sys-apps/paludis/files') diff --git a/sys-apps/paludis/files/paludis-0.16.0-gcc34.patch b/sys-apps/paludis/files/paludis-0.16.0-gcc34.patch new file mode 100644 index 000000000000..fa7257c8ccf2 --- /dev/null +++ b/sys-apps/paludis/files/paludis-0.16.0-gcc34.patch @@ -0,0 +1,22 @@ +Index: paludis-0.16.0/paludis/dep_list/dep_list.cc +=================================================================== +--- paludis-0.16.0.orig/paludis/dep_list/dep_list.cc ++++ paludis-0.16.0/paludis/dep_list/dep_list.cc +@@ -1117,7 +1117,7 @@ DepList::add_error_package(const Package + std::pair pp( + _imp->merge_list_index.equal_range(p.name)); + +- for ( ; pp.first != pp.second ; ++pp.first) ++ for ( ; pp.second != pp.first ; ++pp.first) + { + if (pp.first->second->kind == kind && pp.first->second->package == p) + { +@@ -1156,7 +1156,7 @@ DepList::add_suggested_package(const Pac + std::pair pp( + _imp->merge_list_index.equal_range(p.name)); + +- for ( ; pp.first != pp.second ; ++pp.first) ++ for ( ; pp.second != pp.first ; ++pp.first) + { + if ((pp.first->second->kind == dlk_suggested || pp.first->second->kind == dlk_already_installed + || pp.first->second->kind == dlk_package || pp.first->second->kind == dlk_provided \ No newline at end of file -- cgit v1.2.3-65-gdbad