openbsd-ports/net/osrtspproxy/patches/patch-libapp_timer_h
bluhm 54748039df Apply a bunch of patches to get osrtspproxy running. Upstream is
dead, so keep patches locally.  On top of that, fix linker warnings
about unsave string operations.  Take maintainer.
OK ajacoutot@
2015-07-01 11:33:50 +00:00

20 lines
453 B
Plaintext

$OpenBSD: patch-libapp_timer_h,v 1.1 2015/07/01 11:33:50 bluhm Exp $
--- libapp/timer.h.orig Tue Jan 30 22:24:19 2001
+++ libapp/timer.h Tue Nov 11 19:12:07 2014
@@ -12,6 +12,7 @@
#include "types.h"
#include "tlist.h"
+#include <list>
class CTimerResponse
{
@@ -50,6 +51,6 @@ class CTimer (private)
UINT32 m_interval;
};
-typedef TDoubleList<CTimer*> CTimerList;
+typedef std::list<CTimer> CTimerList;
#endif //ndef _TIMER_H