mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add missing file for previous commit.
This commit is contained in:
parent
98f0d5a4ad
commit
db0820a188
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224182
2 changed files with 26 additions and 0 deletions
13
emulators/wine-devel/files/patch-dlls-ntdll-virtual.c
Normal file
13
emulators/wine-devel/files/patch-dlls-ntdll-virtual.c
Normal file
|
@ -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,
|
13
emulators/wine/files/patch-dlls-ntdll-virtual.c
Normal file
13
emulators/wine/files/patch-dlls-ntdll-virtual.c
Normal file
|
@ -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,
|
Loading…
Add table
Reference in a new issue