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
535a55ec
Commit
535a55ec
authored
Aug 23, 2011
by
Robert Millan
Committed by
Alexandre Julliard
Aug 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Add GNU/kFreeBSD detection.
parent
f80301e3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
configure
configure
+1
-1
configure.ac
configure.ac
+1
-1
ldt.c
libs/wine/ldt.c
+1
-1
main.c
tools/winebuild/main.c
+1
-1
No files found.
configure
View file @
535a55ec
...
...
@@ -6854,7 +6854,7 @@ eval ac_res=\$$as_ac_var
$as_echo
"
$ac_res
"
>
&6
;
}
if
test
`
eval
'as_val=${'
$as_ac_var
'};$as_echo "$as_val"'
`
=
yes
;
then
:
case
$host_os
in
freebsd
*
)
LDEXECFLAGS
=
"
$LDEXECFLAGS
-Wl,--section-start,.interp=0x60000400"
;;
freebsd
*
|
kfreebsd
*
-gnu
)
LDEXECFLAGS
=
"
$LDEXECFLAGS
-Wl,--section-start,.interp=0x60000400"
;;
*
)
LDEXECFLAGS
=
"
$LDEXECFLAGS
-Wl,--section-start,.interp=0x7bf00400"
;;
esac
...
...
configure.ac
View file @
535a55ec
...
...
@@ -824,7 +824,7 @@ case $host_os in
*i[[3456789]]86* | x86_64)
WINE_TRY_CFLAGS([-Wl,--section-start,.interp=0x7bf00400],
[case $host_os in
freebsd*
)
LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
freebsd*
| kfreebsd*-gnu)
LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
*) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
esac
])
...
...
libs/wine/ldt.c
View file @
535a55ec
...
...
@@ -384,7 +384,7 @@ unsigned short wine_ldt_alloc_fs(void)
if
(
errno
!=
ENOSYS
)
perror
(
"set_thread_area"
);
}
else
global_fs_sel
=
(
ldt_info
.
entry_number
<<
3
)
|
3
;
#elif defined(__FreeBSD__)
#elif defined(__FreeBSD__)
|| defined (__FreeBSD_kernel__)
global_fs_sel
=
GSEL
(
GUFS_SEL
,
SEL_UPL
);
#endif
}
...
...
tools/winebuild/main.c
View file @
535a55ec
...
...
@@ -65,7 +65,7 @@ enum target_cpu target_cpu = CPU_ARM;
#ifdef __APPLE__
enum
target_platform
target_platform
=
PLATFORM_APPLE
;
#elif defined(__FreeBSD__)
#elif defined(__FreeBSD__)
|| defined(__FreeBSD_kernel__)
enum
target_platform
target_platform
=
PLATFORM_FREEBSD
;
#elif defined(__sun)
enum
target_platform
target_platform
=
PLATFORM_SOLARIS
;
...
...
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