diff options
author | gerald <gerald@FreeBSD.org> | 2003-12-26 20:39:15 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2003-12-26 20:39:15 +0800 |
commit | 49ee4e1e593e84253bb1a1badbd0922d392b85eb (patch) | |
tree | 29ef8181e3a35e4c141f816116766669212ff685 /emulators/wine | |
parent | c1f9a8f8dd1252b22479d53e6ad5318384f93d39 (diff) | |
download | freebsd-ports-gnome-49ee4e1e593e84253bb1a1badbd0922d392b85eb.tar.gz freebsd-ports-gnome-49ee4e1e593e84253bb1a1badbd0922d392b85eb.tar.zst freebsd-ports-gnome-49ee4e1e593e84253bb1a1badbd0922d392b85eb.zip |
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')
-rw-r--r-- | emulators/wine/Makefile | 1 | ||||
-rw-r--r-- | emulators/wine/files/patch-loader::kthread.c | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index 369bac859727..7396a93218f0 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/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/files/patch-loader::kthread.c b/emulators/wine/files/patch-loader::kthread.c new file mode 100644 index 000000000000..16b80c5d951e --- /dev/null +++ b/emulators/wine/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; + } |