summaryrefslogtreecommitdiff
path: root/emulators/wine-devel/files/README.patch
blob: bfa3c615057e9b01a416348209f3644463724e50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Here are some patches for FreeBSD's kernel that are necessary for Wine
(Well not strictly _necessary_ but without them parts of it won't work).
They unfortunately didn't make it into the base distribution in time
for the 3.3 release code freeze...

patch-3.3-sys-sigtrap:
stop wine's SIGTRAP handler from being called in the sigreturn syscall,
causing problems for wine's internal debugger.  (It would still
correctly show a crash backtrace but all commands that use single-
stepping failed.)

Apply as follows:

	(cd /usr/src/sys && patch ) <patch-3.3-sys-sigtrap

and build a new kernel. (Don't forget to include the options USER_LDT,
SYSVSHM, SYSVSEM, and SYSVMSG which are required by Wine.)

4.x users: The sigtrap patch looks like it could also apply to 4.x but I
haven't tried.