diff options
author | joerg <joerg@pkgsrc.org> | 2013-09-20 23:05:21 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-09-20 23:05:21 +0000 |
commit | ddae7b632696a07501f8311fa29b9cb5e742e110 (patch) | |
tree | fd6aca0ba5006c2260d06b808c599b13b14fbaa3 | |
parent | 5e87780fb1a70c363c13b8f736e917f25046ed3a (diff) | |
download | pkgsrc-ddae7b632696a07501f8311fa29b9cb5e742e110.tar.gz |
Fix template lookup.
-rw-r--r-- | emulators/simulavr/distinfo | 3 | ||||
-rw-r--r-- | emulators/simulavr/patches/patch-src_systemclock.cpp | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/emulators/simulavr/distinfo b/emulators/simulavr/distinfo index 19381f23233..e64d1c790c8 100644 --- a/emulators/simulavr/distinfo +++ b/emulators/simulavr/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2013/09/12 06:20:35 mef Exp $ +$NetBSD: distinfo,v 1.8 2013/09/20 23:05:21 joerg Exp $ SHA1 (simulavr-1.0.0.tar.gz) = e7cacc74be974793bd9c18330ec8d128fbd17d42 RMD160 (simulavr-1.0.0.tar.gz) = 0e9eb32f398943449b564e919765348c32f4c600 @@ -8,3 +8,4 @@ SHA1 (patch-doc_simulavr_texinfo) = ce5615f6e64d4be535b056bd8d3377b1f7a4a5d6 SHA1 (patch-examples_atmel_key_scancodes.h) = f7f6d3f2da8eec4cf9b52800a499bd8300545bc0 SHA1 (patch-regress_timertest_timer_16bit.c) = 81ee86847fd4d40817b2f4bf01e03aca86856f3c SHA1 (patch-src_Makefile.in) = 28354fe97e521b528b6f6d804b7b750d7c63062f +SHA1 (patch-src_systemclock.cpp) = 2e259583d2bdf5003b80b3ebebe81154c68d82bd diff --git a/emulators/simulavr/patches/patch-src_systemclock.cpp b/emulators/simulavr/patches/patch-src_systemclock.cpp new file mode 100644 index 00000000000..b9d7447fc0d --- /dev/null +++ b/emulators/simulavr/patches/patch-src_systemclock.cpp @@ -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) { |