Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-src_systemclock.cpp,v 1.1 2013/09/20 23:05:21 joerg Exp $
--- src/systemclock.cpp.orig 2013-09-20 22:35:37.000000000 +0000
+++ src/systemclock.cpp
@@ -67,7 +67,7 @@ bool MinHeap<Key, Value>::ContainsValue(
template<typename Key, typename Value>
void MinHeap<Key, Value>::Insert(Key k, Value v)
{
- resize(this->size()+1);
+ this->resize(this->size()+1);
for(unsigned i = this->size();;) {
unsigned parent = i/2;
if(parent == 0 || (*this)[parent-1].first < k) {