diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2014-02-18 12:11:33 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2014-02-18 12:11:33 +0000 |
commit | 8fb8d9436897097f3ac7cdc9dfef5190a58069b0 (patch) | |
tree | b28e3c75e422172e9167e364ab1675eb8dc58c4e /dev-cpp/ctemplate/files | |
parent | Fixed messed up ChangeLog file (diff) | |
download | gentoo-2-8fb8d9436897097f3ac7cdc9dfef5190a58069b0.tar.gz gentoo-2-8fb8d9436897097f3ac7cdc9dfef5190a58069b0.tar.bz2 gentoo-2-8fb8d9436897097f3ac7cdc9dfef5190a58069b0.zip |
Drop old versions
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'dev-cpp/ctemplate/files')
-rw-r--r-- | dev-cpp/ctemplate/files/ctemplate-1.0-gcc-4.7.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dev-cpp/ctemplate/files/ctemplate-1.0-gcc-4.7.patch b/dev-cpp/ctemplate/files/ctemplate-1.0-gcc-4.7.patch deleted file mode 100644 index a8eaaa6fa13e..000000000000 --- a/dev-cpp/ctemplate/files/ctemplate-1.0-gcc-4.7.patch +++ /dev/null @@ -1,29 +0,0 @@ -backported fix from ctemplate-2.2 for building with gcc-4.7+ - ---- ctemplate-1.0/src/base/small_map.h -+++ ctemplate-1.0/src/base/small_map.h -@@ -360,20 +360,20 @@ class small_map { - if (size_ >= 0) { - for (int i = 0; i < size_; i++) { - if (compare(array_[i]->first, x.first)) { -- return make_pair(iterator(array_ + i), false); -+ return std::make_pair(iterator(array_ + i), false); - } - } - if (size_ == kArraySize) { - ConvertToRealMap(); // Invalidates all iterators! - std::pair<typename NormalMap::iterator, bool> ret = map_->insert(x); -- return make_pair(iterator(ret.first), ret.second); -+ return std::make_pair(iterator(ret.first), ret.second); - } else { - array_[size_].Init(x); -- return make_pair(iterator(array_ + size_++), true); -+ return std::make_pair(iterator(array_ + size_++), true); - } - } else { - std::pair<typename NormalMap::iterator, bool> ret = map_->insert(x); -- return make_pair(iterator(ret.first), ret.second); -+ return std::make_pair(iterator(ret.first), ret.second); - } - } - |