diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2003-12-26 12:39:15 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2003-12-26 12:39:15 +0000 |
commit | b4ffc8fdc1d1fd555e73cc7171e904e9fdfc3da7 (patch) | |
tree | eaa0fc5a9e7940874710c47252110d78c46829c4 /emulators/wine-devel | |
parent | Make fetchable. (diff) |
rfork() requires that the RFTHREAD flag is given with RFPROC and RFMEM. Add
a patch to fix this port and bump PORTREVISION.
PR: 60508
Submitted by: David Beck <dbeck@beckground.hu>
Diffstat (limited to 'emulators/wine-devel')
-rw-r--r-- | emulators/wine-devel/Makefile | 1 | ||||
-rw-r--r-- | emulators/wine-devel/files/patch-loader::kthread.c | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile index 369bac859727..7396a93218f0 100644 --- a/emulators/wine-devel/Makefile +++ b/emulators/wine-devel/Makefile @@ -8,6 +8,7 @@ PORTNAME= wine PORTVERSION= 20031212 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= ALPHA/wine/development diff --git a/emulators/wine-devel/files/patch-loader::kthread.c b/emulators/wine-devel/files/patch-loader::kthread.c new file mode 100644 index 000000000000..16b80c5d951e --- /dev/null +++ b/emulators/wine-devel/files/patch-loader::kthread.c @@ -0,0 +1,16 @@ +Index: loader/kthread.c +=================================================================== +RCS file: /home/wine/wine/loader/kthread.c,v +retrieving revision 1.2 +diff -u -3 -p -r1.2 kthread.c +--- loader/kthread.c 9 Nov 2003 01:25:23 -0000 1.2 ++++ loader/kthread.c 25 Dec 2003 18:24:15 -0000 +@@ -300,7 +300,7 @@ int wine_pthread_create_thread( struct w + "ret;\n" + "1:\n\t" /* parent -> caller thread */ + "addl $8,%%esp" : +- : "r" (sp), "g" (SYS_rfork), "g" (RFPROC | RFMEM) ++ : "r" (sp), "g" (SYS_rfork), "g" (RFPROC | RFMEM | RFTHREAD) + : "eax", "edx"); + return 0; + } |