diff options
Diffstat (limited to 'emulators/wine-devel/files')
-rw-r--r-- | emulators/wine-devel/files/README.patch | 65 | ||||
-rw-r--r-- | emulators/wine-devel/files/install-patch-3.3-sys-sigtrap | 30 | ||||
-rw-r--r-- | emulators/wine-devel/files/patch-ad | 27 | ||||
-rw-r--r-- | emulators/wine-devel/files/patch-ar | 11 | ||||
-rw-r--r-- | emulators/wine-devel/files/patch-ba | 25 | ||||
-rw-r--r-- | emulators/wine-devel/files/patch-gb | 17 |
6 files changed, 0 insertions, 175 deletions
diff --git a/emulators/wine-devel/files/README.patch b/emulators/wine-devel/files/README.patch deleted file mode 100644 index f404b7486cca..000000000000 --- a/emulators/wine-devel/files/README.patch +++ /dev/null @@ -1,65 +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-ldtshare: -make kernel threads (rfork(), which wine uses) share one LDT instead of -each having its own. this fixes the same problem that wine also had on -linux kernels before 2.2. - -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.) - -patch-3.3-sys-fsgs: -always set/use the sc_fs and sc_gs entries in the sigcontext struct, -making -stable behave the same as -current there. this should finally -allow signal handling of a wine that was built on -stable to correctly -run on -current too. The corresponding wine change is in the port in -patches/patch-af, it is also in wine's CVS tree now, so that file will -disappear when the port is updated after the next wine release. -(this one was MFC'd Nov 15 1999, so you only need it if you're running a -system from the -stable branch older than that, like a 3.3-RELEASE. If you -happen to try to apply it when its already there patch(1) should complain -`Reversed (or previously applied) patch detected! Assume -R? [y]', -just hit ^C then...) - -Apply as follows: - - (cd /usr/src/sys && patch ) <patch-3.3-sys-ldtshare - (cd /usr/src/sys && patch ) <patch-3.3-sys-sigtrap - -And if you don't already have it: - - (cd /usr/src/sys && patch ) <patch-3.3-sys-fsgs - -then build a new kernel. (don't forget to include the options USER_LDT, -SYSVSHM, SYSVSEM, and SYSVMSG, wine needs these.) - -A note about local patches and ctm, cvsup and friends... -(if you don't know what those are good for see for example -http://www.freebsd.org/handbook/stable.html) -ctm cannot deal with local patches (unless you use it to mirror -the cvs tree of course, instead of the sources directly), with -cvsup i'm not sure but in any case the workaround is simple: use -patch -R to un-apply any local patches before the update (feeding -it the patches again as above on stdin), then when the update is -finished apply them again. Should they fail on the updated sources -(and you cannot fix it yourself), look for new versions of the -patches at the place where you got them, or in this case you -can also look in my current wine port tree at -http://www.jelal.kn-bremen.de/freebsd/ports/emulators/wine/files/ - --current users: -A LDT patch for -current is at http://people.FreeBSD.org/~luoqi/ -(well in a recent posting on the -current list, -http://www.freebsd.org/cgi/mid.cgi?db=&id=199911150745.CAA27884@lor.watermarkgroup.com -he said that version is outdated, seems you have to mail him to -get a current one), the sigtrap patch looks like it could also -apply to -current but i haven't tried. And the fs/gs patch of course -already is in -current. -Late note: the LDT sharing fix just seems to have been committed now... -(to -current that is.) 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); diff --git a/emulators/wine-devel/files/patch-ad b/emulators/wine-devel/files/patch-ad deleted file mode 100644 index d309001ef307..000000000000 --- a/emulators/wine-devel/files/patch-ad +++ /dev/null @@ -1,27 +0,0 @@ -*** wine.ini.orig Sun Oct 31 03:23:49 1999 ---- wine.ini Sat Nov 13 13:36:18 1999 -*************** -*** 107,117 **** - - [serialports] -! Com1=/dev/ttyS0 -! Com2=/dev/ttyS1 - Com3=/dev/modem,38400 - Com4=/dev/modem - - [parallelports] -! Lpt1=/dev/lp0 - - [spooler] ---- 107,117 ---- - - [serialports] -! Com1=/dev/ttyd0 -! Com2=/dev/ttyd1 - Com3=/dev/modem,38400 - Com4=/dev/modem - - [parallelports] -! Lpt1=/dev/lpt0 - - [spooler] diff --git a/emulators/wine-devel/files/patch-ar b/emulators/wine-devel/files/patch-ar deleted file mode 100644 index 715b693ba449..000000000000 --- a/emulators/wine-devel/files/patch-ar +++ /dev/null @@ -1,11 +0,0 @@ -*** configure~ Mon Apr 26 16:58:58 1999 ---- configure Mon May 3 22:05:42 1999 -*************** -*** 9,12 **** ---- 9,14 ---- - # gives unlimited permission to copy, distribute and modify it. - -+ exec < /dev/null -+ - # Defaults: - ac_help= diff --git a/emulators/wine-devel/files/patch-ba b/emulators/wine-devel/files/patch-ba deleted file mode 100644 index 664cf844b121..000000000000 --- a/emulators/wine-devel/files/patch-ba +++ /dev/null @@ -1,25 +0,0 @@ -Index: Make.rules.in -=================================================================== -RCS file: /home/wine/wine/Make.rules.in,v -retrieving revision 1.17 -diff -u -u -r1.17 Make.rules.in ---- Make.rules.in 1999/08/15 12:45:53 1.17 -+++ Make.rules.in 1999/09/24 23:39:10 -@@ -21,7 +21,7 @@ - CC = @CC@ - CPP = @CPP@ - CFLAGS = @CFLAGS@ --OPTIONS = @OPTIONS@ -D_REENTRANT -+OPTIONS = @OPTIONS@ -D_REENTRANT -D_THREAD_SAFE - X_CFLAGS = @X_CFLAGS@ - X_LIBS = @X_LIBS@ - XLIB = @X_PRE_LIBS@ @XLIB@ @X_EXTRA_LIBS@ -@@ -69,7 +69,7 @@ - prefix = @prefix@ - exec_prefix = @exec_prefix@ - bindir = @bindir@ --libdir = @libdir@ -+libdir = @libdir@/wine - infodir = @infodir@ - mandir = @mandir@ - prog_manext = 1 diff --git a/emulators/wine-devel/files/patch-gb b/emulators/wine-devel/files/patch-gb deleted file mode 100644 index 8ff5b9008257..000000000000 --- a/emulators/wine-devel/files/patch-gb +++ /dev/null @@ -1,17 +0,0 @@ -Index: Makefile.in -=================================================================== -RCS file: /home/wine/wine/Makefile.in,v -retrieving revision 1.79 -diff -c -3 -p -r1.79 Makefile.in -*** Makefile.in 2000/04/24 17:17:49 1.79 ---- Makefile.in 2000/05/29 14:30:26 -*************** uninstall_programs: dummy -*** 209,215 **** - - install:: - for i in $(INSTALLSUBDIRS); do (cd $$i && $(MAKE) install) || exit 1; done -- -$(LDCONFIG) - - uninstall:: - for i in $(INSTALLSUBDIRS); do (cd $$i && $(MAKE) uninstall) || exit 1; done ---- 209,214 ---- |