summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-01-25 17:51:40 +0000
committerChristian Heim <phreak@gentoo.org>2007-01-25 17:51:40 +0000
commit103ffd254a1323a6aaa3dadf6b97480e54928e5f (patch)
treec15c8251148b478aa3ceb23ce1cf3706cc447453 /sys-apps/paludis/files
parentVersion bump - gst-plugins-good-0.10.5 is released (diff)
downloadgentoo-2-103ffd254a1323a6aaa3dadf6b97480e54928e5f.tar.gz
gentoo-2-103ffd254a1323a6aaa3dadf6b97480e54928e5f.tar.bz2
gentoo-2-103ffd254a1323a6aaa3dadf6b97480e54928e5f.zip
Fixing compilation of paludis-0.16.0 (when using =gcc-3.4*), bug #163729.
(Portage version: 2.1.2-r4)
Diffstat (limited to 'sys-apps/paludis/files')
-rw-r--r--sys-apps/paludis/files/paludis-0.16.0-gcc34.patch22
1 files changed, 22 insertions, 0 deletions
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<MergeListIndex::iterator, MergeListIndex::const_iterator> 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<MergeListIndex::iterator, MergeListIndex::const_iterator> 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