[BACK]Return to patch-src_Mem_unix_cpp CVS log [TXT][DIR] Up to [local] / ports / misc / xmrig / patches

Diff for /ports/misc/xmrig/patches/patch-src_Mem_unix_cpp between version 1.1 and 1.2

version 1.1, 2019/01/22 08:21:14 version 1.2, 2019/07/16 16:35:24
Line 3 
Line 3 
 Index: src/Mem_unix.cpp  Index: src/Mem_unix.cpp
 --- src/Mem_unix.cpp.orig  --- src/Mem_unix.cpp.orig
 +++ src/Mem_unix.cpp  +++ src/Mem_unix.cpp
 @@ -55,7 +55,7 @@ void Mem::allocate(MemInfo &info, bool enabled)  @@ -56,7 +56,7 @@ void Mem::allocate(MemInfo &info, bool enabled)
  #   elif defined(__FreeBSD__)   #   elif defined(__FreeBSD__)
      info.memory = static_cast<uint8_t*>(mmap(0, info.size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_ALIGNED_SUPER | MAP_PREFAULT_READ, -1, 0));       info.memory = static_cast<uint8_t*>(mmap(0, info.size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_ALIGNED_SUPER | MAP_PREFAULT_READ, -1, 0));
  #   else   #   else

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb