opnsense-ports/devel/commoncpp/files/patch-src_timer.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
297 B
C++

--- src/timer.cpp 2010-10-31 18:00:33.000000000 -0700
+++ src/timer.cpp 2012-08-12 20:29:31.000000000 -0700
@@ -118,7 +118,7 @@
active = true;
}
-#ifdef HAVE_HIRES_TIMER
+#if defined(HAVE_HIRES_TIMER) && !defined(__FreeBSD__)
void TimerPort::sleepTimer(void)
{
struct timespec ts;