diff options
Diffstat (limited to 'emulators/wine-devel/files')
-rw-r--r-- | emulators/wine-devel/files/README.patch | 20 | ||||
-rw-r--r-- | emulators/wine-devel/files/install-patch-3.3-sys-sigtrap | 30 |
2 files changed, 0 insertions, 50 deletions
diff --git a/emulators/wine-devel/files/README.patch b/emulators/wine-devel/files/README.patch deleted file mode 100644 index bfa3c615057e..000000000000 --- a/emulators/wine-devel/files/README.patch +++ /dev/null @@ -1,20 +0,0 @@ -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. diff --git a/emulators/wine-devel/files/install-patch-3.3-sys-sigtrap b/emulators/wine-devel/files/install-patch-3.3-sys-sigtrap deleted file mode 100644 index e3004884fd29..000000000000 --- a/emulators/wine-devel/files/install-patch-3.3-sys-sigtrap +++ /dev/null @@ -1,30 +0,0 @@ -Index: i386/i386/trap.c -=================================================================== -RCS file: /home/cvs/cvs/src/sys/i386/i386/trap.c,v -retrieving revision 1.133.2.1 -diff -u -u -r1.133.2.1 trap.c ---- trap.c 1999/08/29 16:05:56 1.133.2.1 -+++ trap.c 1999/09/10 14:42:21 -@@ -1041,6 +1084,7 @@ - int error; - int args[8]; - u_int code; -+ int tracedsyscall = ((frame.tf_eflags & PSL_T) && !(frame.tf_eflags & PSL_VM)); - - #ifdef DIAGNOSTIC - if (ISPL(frame.tf_cs) != SEL_UPL) -@@ -1135,10 +1179,12 @@ - break; - } - -- if ((frame.tf_eflags & PSL_T) && !(frame.tf_eflags & PSL_VM)) { -+ if (tracedsyscall) { - /* Traced syscall. */ - frame.tf_eflags &= ~PSL_T; -- trapsignal(p, SIGTRAP, 0); -+ /* tell the signal handler this is a trace trap */ -+ frame.tf_trapno = T_TRCTRAP; -+ trapsignal(p, SIGTRAP, T_TRCTRAP); - } - - userret(p, &frame, sticks); |