=================================================================== RCS file: /cvs/ports/misc/xmrig/patches/patch-src_common_Platform_unix_cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ports/misc/xmrig/patches/patch-src_common_Platform_unix_cpp 2019/01/22 08:21:14 1.1 +++ ports/misc/xmrig/patches/patch-src_common_Platform_unix_cpp 2019/07/16 16:35:24 1.2 @@ -1,9 +1,9 @@ -$OpenBSD: patch-src_common_Platform_unix_cpp,v 1.1 2019/01/22 08:21:14 kirby Exp $ +$OpenBSD: patch-src_common_Platform_unix_cpp,v 1.2 2019/07/16 16:35:24 kirby Exp $ Index: src/common/Platform_unix.cpp --- src/common/Platform_unix.cpp.orig +++ src/common/Platform_unix.cpp -@@ -78,6 +78,7 @@ char *Platform::createUserAgent() +@@ -84,6 +84,7 @@ char *Platform::createUserAgent() } @@ -11,11 +11,11 @@ bool Platform::setThreadAffinity(uint64_t cpu_id) { cpu_set_t mn; -@@ -90,6 +91,7 @@ bool Platform::setThreadAffinity(uint64_t cpu_id) +@@ -96,6 +97,7 @@ bool Platform::setThreadAffinity(uint64_t cpu_id) return sched_setaffinity(gettid(), sizeof(cpu_set_t), &mn) == 0; # endif } +#endif - void Platform::setProcessPriority(int priority) + uint32_t Platform::setTimerResolution(uint32_t resolution)