aboutsummaryrefslogtreecommitdiff
path: root/emulators/wine-devel
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2008-12-13 10:14:02 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2008-12-13 10:14:02 +0000
commitdb0820a18873885f6b0c516e6306f0529e0f6772 (patch)
tree955e48f37affab66893f4642784da21adc49aeb0 /emulators/wine-devel
parent98f0d5a4ad58efa24f5bedbd806b553535796194 (diff)
downloadports-db0820a18873885f6b0c516e6306f0529e0f6772.tar.gz
ports-db0820a18873885f6b0c516e6306f0529e0f6772.zip
Notes
Diffstat (limited to 'emulators/wine-devel')
-rw-r--r--emulators/wine-devel/files/patch-dlls-ntdll-virtual.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/wine-devel/files/patch-dlls-ntdll-virtual.c b/emulators/wine-devel/files/patch-dlls-ntdll-virtual.c
new file mode 100644
index 000000000000..1630ade6567e
--- /dev/null
+++ b/emulators/wine-devel/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,