aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/blackbox
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2004-08-01 12:59:18 +0000
committerClive Lin <clive@FreeBSD.org>2004-08-01 12:59:18 +0000
commit92e618dfd5e498dd14b8518061f03b4e6285a4e1 (patch)
tree6d6f3318ef5e60f63ac1c2151950f051e3507cb5 /x11-wm/blackbox
parentb36ee793ac9c31b0461e51406059e6ec9224ce32 (diff)
downloadports-92e618dfd5e498dd14b8518061f03b4e6285a4e1.tar.gz
ports-92e618dfd5e498dd14b8518061f03b4e6285a4e1.zip
Notes
Diffstat (limited to 'x11-wm/blackbox')
-rw-r--r--x11-wm/blackbox/files/patch-src::Timer.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-wm/blackbox/files/patch-src::Timer.hh b/x11-wm/blackbox/files/patch-src::Timer.hh
new file mode 100644
index 000000000000..89b27ecf0e21
--- /dev/null
+++ b/x11-wm/blackbox/files/patch-src::Timer.hh
@@ -0,0 +1,15 @@
+--- src/Timer.hh~ Sun Aug 1 17:13:29 2004
++++ src/Timer.hh Sun Aug 1 17:14:13 2004
+@@ -98,9 +98,10 @@
+ ~_timer_queue(void) {}
+
+ void release(const _Tp& value) {
+- c.erase(std::remove(c.begin(), c.end(), value), c.end());
++ _Base::c.erase(std::remove(_Base::c.begin(), _Base::c.end(), value),
++ _Base::c.end());
+ // after removing the item we need to make the heap again
+- std::make_heap(c.begin(), c.end(), comp);
++ std::make_heap(_Base::c.begin(), _Base::c.end(), _Base::comp);
+ }
+ bool empty(void) const { return _Base::empty(); }
+ size_t size(void) const { return _Base::size(); }