diff options
author | gerald <gerald@FreeBSD.org> | 2008-12-13 18:14:02 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2008-12-13 18:14:02 +0800 |
commit | 4e8694054e84886396098e0b314ec1b8e9fc9151 (patch) | |
tree | b2df15a7cf30e2fc321a1772acd60612b828ff42 /emulators/wine | |
parent | 2c1683fb264b85c56524f92c4f8330c2765aafe6 (diff) | |
download | freebsd-ports-graphics-4e8694054e84886396098e0b314ec1b8e9fc9151.tar.gz freebsd-ports-graphics-4e8694054e84886396098e0b314ec1b8e9fc9151.tar.zst freebsd-ports-graphics-4e8694054e84886396098e0b314ec1b8e9fc9151.zip |
Add missing file for previous commit.
Diffstat (limited to 'emulators/wine')
-rw-r--r-- | emulators/wine/files/patch-dlls-ntdll-virtual.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/wine/files/patch-dlls-ntdll-virtual.c b/emulators/wine/files/patch-dlls-ntdll-virtual.c new file mode 100644 index 00000000000..1630ade6567 --- /dev/null +++ b/emulators/wine/files/patch-dlls-ntdll-virtual.c @@ -0,0 +1,13 @@ +--- dlls/ntdll/virtual.c.orig 2008-12-07 17:26:02.000000000 +0100 ++++ dlls/ntdll/virtual.c 2008-12-07 17:28:46.000000000 +0100 +@@ -1249,9 +1249,7 @@ + } + } + +- /* try to find space in a reserved area for the virtual heap */ +- if (!wine_mmap_enum_reserved_areas( alloc_virtual_heap, &heap_base, 1 )) +- heap_base = wine_anon_mmap( NULL, VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 ); ++ heap_base = wine_anon_mmap( (void *)0x81000000, VIRTUAL_HEAP_SIZE, PROT_READ|PROT_WRITE, 0 ); + + assert( heap_base != (void *)-1 ); + virtual_heap = RtlCreateHeap( HEAP_NO_SERIALIZE, heap_base, VIRTUAL_HEAP_SIZE, |