Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e5f6637e
Commit
e5f6637e
authored
Dec 15, 2004
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Dec 15, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make us work on FreeBSD again by working around their different mmap()
implementation.
parent
64b4d5a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
README
README
+2
-4
mmap.c
libs/wine/mmap.c
+5
-0
No files found.
README
View file @
e5f6637e
...
...
@@ -44,10 +44,8 @@ Linux info:
it's best to have a current kernel such as 2.4.x.
FreeBSD info:
Wine should build on FreeBSD 4.x and FreeBSD 5.x before 5.3, but will
generally not work on these systems due to issues with threading and
mmap(). In fact, even on FreeBSD 5.3 you will need the kernel patch
posted at <http://www.freebsd.org/cgi/query-pr.cgi?pr=73092>.
Wine should build on FreeBSD 4.x and FreeBSD 5.x, but versions before
FreeBSD 5.3 will generally not work properly.
More information can be found in the FreeBSD ports tree at
<ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/emulators/wine/>.
...
...
libs/wine/mmap.c
View file @
e5f6637e
...
...
@@ -174,6 +174,11 @@ void *wine_anon_mmap( void *start, size_t size, int prot, int flags )
if
(
!
(
flags
&
MAP_FIXED
))
{
#ifdef __FreeBSD__
/* Even FreeBSD 5.3 does not properly support NULL here. */
if
(
start
==
NULL
)
start
=
(
void
*
)
0x110000
;
#endif
#ifdef MAP_TRYFIXED
/* If available, this will attempt a fixed mapping in-kernel */
flags
|=
MAP_TRYFIXED
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment