diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2009-03-28 19:57:00 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2009-03-28 19:57:00 +0000 |
commit | a075163ee431a93ae7e707f982defca42e1aae21 (patch) | |
tree | d586d910902ca0af8be07d7c58d84acb55fe8094 /emulators/wine-devel/files/patch-partial-reservation | |
parent | Update to 5.71001 (diff) |
Update to Wine 1.1.18. Among others, this includes the following changes:
- RPC over HTTP support.
- Improved support for upgrades in MSI.
- Many Direct3D code cleanups.
- Various bug fixes.
Apply a patch to address some FreeBSD-specific issues and un-IGNORE this
port. [1]
Submitted by: Tijl Coosemans <tijl@ulyssis.org> [1]
PR: 133157
Notes
Notes:
svn path=/head/; revision=231208
Diffstat (limited to 'emulators/wine-devel/files/patch-partial-reservation')
-rw-r--r-- | emulators/wine-devel/files/patch-partial-reservation | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/emulators/wine-devel/files/patch-partial-reservation b/emulators/wine-devel/files/patch-partial-reservation new file mode 100644 index 000000000000..af9400870483 --- /dev/null +++ b/emulators/wine-devel/files/patch-partial-reservation @@ -0,0 +1,27 @@ +diff --git libs/wine/mmap.c libs/wine/mmap.c +index d107fc7..a694e4f 100644 +--- libs/wine/mmap.c ++++ libs/wine/mmap.c +@@ -344,9 +344,13 @@ void mmap_init(void) + struct reserved_area *area; + struct list *ptr; + #ifdef __i386__ ++ char *user_space_limit = (char *)0x7ffe0000; ++#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) ++ reserve_malloc_space( 8 * 1024 * 1024 ); ++ reserve_area( user_space_limit, (char *)0x82000000 ); ++#else + char stack; + char * const stack_ptr = &stack; +- char *user_space_limit = (char *)0x7ffe0000; + + reserve_malloc_space( 8 * 1024 * 1024 ); + +@@ -377,6 +381,7 @@ void mmap_init(void) + reserve_area( base, end ); + } + else reserve_area( user_space_limit, 0 ); ++#endif + #endif /* __i386__ */ + + /* reserve the DOS area if not already done */ |