diff options
-rw-r--r-- | emulators/wine-devel/Makefile | 1 | ||||
-rw-r--r-- | emulators/wine-devel/files/patch-loader::kthread.c | 16 | ||||
-rw-r--r-- | emulators/wine/Makefile | 1 | ||||
-rw-r--r-- | emulators/wine/files/patch-loader::kthread.c | 16 |
4 files changed, 34 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; + } 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; + } |