Ticket #33202: darwin9.patch
File darwin9.patch, 1.2 KB (added by neverpanic (Clemens Lang), 13 years ago) |
---|
-
files/darwin9-helper_subprocess-FortunateSonServerImpl.cpp.patch
1 --- helper_subprocess/FortunateSonServerImpl.cpp.orig 2012-02-10 00:38:41.000000000 +0100 2 +++ helper_subprocess/FortunateSonServerImpl.cpp 2012-02-10 00:39:51.000000000 +0100 3 @@ -25,6 +25,10 @@ 4 5 #define MAX_FD_VALUE 1024 6 7 +#ifndef mach_vm_round_page 8 +#define mach_vm_round_page(x) (((mach_vm_offset_t)(x) + PAGE_MASK) & ~((signed)PAGE_MASK)) 9 +#endif 10 + 11 static char sOpenFiles[MAX_FD_VALUE / CHAR_BIT]; 12 13 static unsigned get_bit_value(int index) { -
Portfile
35 35 framework-sources-HFByteArrayEditScript.m.patch 36 36 } 37 37 38 # Leopard doesn't know about mach_vm_round_page 39 platform darwin 9 { 40 patchfiles-append \ 41 darwin9-helper_subprocess-FortunateSonServerImpl.cpp.patch 42 } 43 38 44 xcode.target HexFiend_2 39 45 xcode.configuration Release 40 46