From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 8 08:04:38 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CBC216A4CE; Mon, 8 Nov 2004 08:04:38 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5942343D58; Mon, 8 Nov 2004 08:04:38 +0000 (GMT) (envelope-from bms@FreeBSD.org) Received: from freefall.freebsd.org (bms@localhost [127.0.0.1]) iA884cvS086092; Mon, 8 Nov 2004 08:04:38 GMT (envelope-from bms@freefall.freebsd.org) Received: (from bms@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA884cqw086088; Mon, 8 Nov 2004 08:04:38 GMT (envelope-from bms) Date: Mon, 8 Nov 2004 08:04:38 GMT From: Bruce M Simpson Message-Id: <200411080804.iA884cqw086088@freefall.freebsd.org> To: culverk@yumyumyum.org, bms@FreeBSD.org, emulation@FreeBSD.org Subject: Re: kern/45785: Linux WineX seems to require a few new linux syscalls X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 08:04:38 -0000 Synopsis: Linux WineX seems to require a few new linux syscalls State-Changed-From-To: open->feedback State-Changed-By: bms State-Changed-When: Mon Nov 8 08:03:54 GMT 2004 State-Changed-Why: 5.3 is the new -STABLE. Most of the functionality of this patch seems to be in -STABLE, with the exception of linux_truncate64(). Is this call absolutely necessary? http://www.freebsd.org/cgi/query-pr.cgi?pr=45785 From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 8 08:08:58 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 130F216A4CE; Mon, 8 Nov 2004 08:08:58 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E520F43D45; Mon, 8 Nov 2004 08:08:57 +0000 (GMT) (envelope-from bms@FreeBSD.org) Received: from freefall.freebsd.org (bms@localhost [127.0.0.1]) iA888v1F090127; Mon, 8 Nov 2004 08:08:57 GMT (envelope-from bms@freefall.freebsd.org) Received: (from bms@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA888v9i090123; Mon, 8 Nov 2004 08:08:57 GMT (envelope-from bms) Date: Mon, 8 Nov 2004 08:08:57 GMT From: Bruce M Simpson Message-Id: <200411080808.iA888v9i090123@freefall.freebsd.org> To: culverk@yumyumyum.org, bms@FreeBSD.org, emulation@FreeBSD.org Subject: Re: kern/45785: Linux WineX seems to require a few new linux syscalls X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 08:08:58 -0000 Synopsis: Linux WineX seems to require a few new linux syscalls State-Changed-From-To: feedback->closed State-Changed-By: bms State-Changed-When: Mon Nov 8 08:08:37 GMT 2004 State-Changed-Why: Most of this is in 5.3, and submitter's email bounces http://www.freebsd.org/cgi/query-pr.cgi?pr=45785 From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 8 09:45:31 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83D8316A4CF for ; Mon, 8 Nov 2004 09:45:31 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4523243D1D for ; Mon, 8 Nov 2004 09:45:30 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 7D7436530A; Mon, 8 Nov 2004 09:45:28 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 81038-05; Mon, 8 Nov 2004 09:45:27 +0000 (GMT) Received: from empiric.dek.spc.org (adsl-64-171-184-99.dsl.snfc21.pacbell.net [64.171.184.99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 99078651EE; Mon, 8 Nov 2004 09:45:26 +0000 (GMT) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id F2932626B; Mon, 8 Nov 2004 01:45:10 -0800 (PST) Date: Mon, 8 Nov 2004 01:45:10 -0800 From: Bruce M Simpson To: info@transgaming.com Message-ID: <20041108094510.GC3132@empiric.icir.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="t0UkRYy7tHLRMCai" Content-Disposition: inline cc: emulation@FreeBSD.org cc: support@transgaming.com Subject: [PATCH] WineX: fix compilation on FreeBSD 5.3-RELEASE X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 09:45:31 -0000 --t0UkRYy7tHLRMCai Content-Type: multipart/mixed; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Good morning, I'm one of the FreeBSD networking developers. I work at the International Computer Science Institute in Berkeley, CA as a networking researcher. I am particularly keen to try to get Half-Life working under FreeBSD with OpenGL support, so I've spent a little time hacking WineX to compile under 5.3-RELEASE. This patch is currently untested. A number of other developers in the FreeBSD community are also interested in running Windows games under FreeBSD using WineX, and I hope to have feedback from them soon. I'd appreciate any comments from your developers, and look forward to hearing from you. Regards, BMS --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="winex-20041108-fbsd53.diff" Content-Transfer-Encoding: quoted-printable This fixes the WineX build on FreeBSD 5.3-RELEASE for the !USE_PTHREADS case. Untested. Baseline: source checkout from CVS HEAD, 08:00 UTC, 8th Nov 2004. Index: dlls/ntdll/cdrom.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/winex/dlls/ntdll/cdrom.c,v retrieving revision 1.9 diff -u -p -r1.9 cdrom.c --- dlls/ntdll/cdrom.c 18 Feb 2004 22:27:40 -0000 1.9 +++ dlls/ntdll/cdrom.c 8 Nov 2004 08:36:58 -0000 @@ -971,27 +971,11 @@ static DWORD CDROM_RawRead(int dev, cons } #elif defined(__FreeBSD__) { - struct ioc_read_audio ira; + off_t offset; =20 - switch (raw->TrackMode) - { - case YellowMode2: - FIXME("YellowMode2: NIY\n"); - return ret; - case XAForm2: - FIXME("XAForm2: NIY\n"); - return ret; - case CDDA: - /* 2048 =3D 2 ** 11 */ - if (raw->DiskOffset.s.HighPart & ~2047) FIXME("Unsupported val= ue\n"); - ira.address.lba =3D ((raw->DiskOffset.s.LowPart >> 11) | - raw->DiskOffset.s.HighPart << (32 - 11)) - 1; - ira.address_format =3D CD_LBA_FORMAT; - ira.nframes =3D raw->SectorCount; - ira.buffer =3D buffer; - io =3D ioctl(dev, CDIOCREADAUDIO, &ira); - break; - } + offset =3D ((raw->DiskOffset.s.LowPart >> 11) | + raw->DiskOffset.s.HighPart << (32 - 11)) - 1; + io =3D pread(dev, buffer, sectSize * raw->SectorCount, offset); } #elif defined(__NetBSD__) { Index: dlls/ntdll/signal_i386.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/winex/dlls/ntdll/signal_i386.c,v retrieving revision 1.19 diff -u -p -r1.19 signal_i386.c --- dlls/ntdll/signal_i386.c 27 Jul 2004 18:49:20 -0000 1.19 +++ dlls/ntdll/signal_i386.c 8 Nov 2004 08:36:58 -0000 @@ -881,6 +881,7 @@ static void set_vm86_pend( CONTEXT *cont } } } +#endif =20 #if defined(USE_PTHREADS) static void raise_signal_if_unexpected_thread( int sig, int sig_to_raise ) @@ -901,28 +902,6 @@ static void raise_signal_if_unexpected_t #endif /* USE_PTHREADS */ =20 =20 -#if 0 /* Now using SIGUSR2 for eject handling */ -/********************************************************************** - * usr2_handler - * - * Handler for SIGUSR2. - * We use it to signal that the running __wine_enter_vm86() should - * immediately set VIP_MASK, causing pending events to be handled - * as early as possible. - */ -static HANDLER_DEF(usr2_handler) -{ - CONTEXT context; - - raise_signal_if_unexpected_thread( SIGUSR2, SIGQUIT ); - - save_context( &context, HANDLER_CONTEXT ); - set_vm86_pend( &context ); - restore_context( &context, HANDLER_CONTEXT ); -} - -#else /* Now using SIGUSR2 for eject handling */ - = =20 /********************************************************************** * usr2_handler * @@ -984,16 +963,13 @@ static int get_cdrom_eject_drive(void) return -1;=20 } =20 - static HANDLER_DEF(usr2_handler) { FILE_ForceEjectCDDrive(get_cdrom_eject_drive()); } -#endif=20 - - =20 =20 +#if 0 /********************************************************************** * alrm_handler * @@ -1011,9 +987,8 @@ static HANDLER_DEF(alrm_handler) set_vm86_pend( &context ); restore_context( &context, HANDLER_CONTEXT ); } -#else /* __HAVE_VM86 */ -# define raise_signal_if_unexpected_thread(a,b) -#endif /* __HAVE_VM86 */ +#endif + =20 =20 /********************************************************************** @@ -1284,7 +1259,9 @@ BOOL SIGNAL_Init(void) #endif #endif =20 +#if 1 if (set_handler( SIGUSR2, have_sigaltstack, (void (*)())usr2_handler )= =3D=3D -1) goto error; +#endif =20 #ifdef USE_PTHREADS if (set_handler( SIGTERM, have_sigaltstack, (void (*)())sigterm_handle= r ) =3D=3D -1) goto error; Index: dlls/winedos/dosvm.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/winex/dlls/winedos/dosvm.c,v retrieving revision 1.7 diff -u -p -r1.7 dosvm.c --- dlls/winedos/dosvm.c 12 May 2004 18:54:54 -0000 1.7 +++ dlls/winedos/dosvm.c 8 Nov 2004 08:36:58 -0000 @@ -44,6 +44,8 @@ WINE_DECLARE_DEBUG_CHANNEL(relay); WORD DOSVM_psp =3D 0; WORD DOSVM_retval =3D 0; =20 +static CRITICAL_SECTION qcrit; + #ifdef MZ_SUPPORTED =20 #ifdef HAVE_SYS_VM86_H @@ -69,7 +71,6 @@ typedef struct _DOSEVENT { struct _DOSEVENT *next; } DOSEVENT, *LPDOSEVENT; =20 -static CRITICAL_SECTION qcrit; static struct _DOSEVENT *pending_event, *current_event; static int sig_sent; static HANDLE event_notifier; Index: dlls/wineps/font.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/winex/dlls/wineps/font.c,v retrieving revision 1.3 diff -u -p -r1.3 font.c --- dlls/wineps/font.c 18 Feb 2004 22:27:44 -0000 1.3 +++ dlls/wineps/font.c 8 Nov 2004 08:36:58 -0000 @@ -33,7 +33,7 @@ inline static BOOL is_stock_font( HFONT=20 * Scale font to requested lfHeight * */ -inline static float round(float f) +inline static float roundheight(float f) { return (f > 0) ? (f + 0.5) : (f - 0.5); } @@ -58,19 +58,19 @@ static VOID ScaleFont(const AFM *afm, LO (float)(wm->usWinAscent + wm->usWinDescent); } =20 - font->size =3D (INT)round(font->scale * (float)wm->usUnitsPerEm); + font->size =3D (INT)roundheight(font->scale * (float)wm->usUnitsPerEm); font->set =3D FALSE; =20 - usUnitsPerEm =3D (USHORT)round((float)(wm->usUnitsPerEm) * font->scale= ); - sAscender =3D (SHORT)round((float)(wm->sAscender) * font->scale); - sDescender =3D (SHORT)round((float)(wm->sDescender) * font->scale); - sLineGap =3D (SHORT)round((float)(wm->sLineGap) * font->scale); - sTypoAscender =3D (SHORT)round((float)(wm->sTypoAscender) * font->scal= e); - sTypoDescender =3D (SHORT)round((float)(wm->sTypoDescender) * font->sc= ale); - sTypoLineGap =3D (SHORT)round((float)(wm->sTypoLineGap) * font->scale); - usWinAscent =3D (USHORT)round((float)(wm->usWinAscent) * font->scale); - usWinDescent =3D (USHORT)round((float)(wm->usWinDescent) * font->scale= ); - sAvgCharWidth =3D (SHORT)round((float)(wm->sAvgCharWidth) * font->scal= e); + usUnitsPerEm =3D (USHORT)roundheight((float)(wm->usUnitsPerEm) * font-= >scale); + sAscender =3D (SHORT)roundheight((float)(wm->sAscender) * font->scale); + sDescender =3D (SHORT)roundheight((float)(wm->sDescender) * font->scal= e); + sLineGap =3D (SHORT)roundheight((float)(wm->sLineGap) * font->scale); + sTypoAscender =3D (SHORT)roundheight((float)(wm->sTypoAscender) * font= ->scale); + sTypoDescender =3D (SHORT)roundheight((float)(wm->sTypoDescender) * fo= nt->scale); + sTypoLineGap =3D (SHORT)roundheight((float)(wm->sTypoLineGap) * font->= scale); + usWinAscent =3D (USHORT)roundheight((float)(wm->usWinAscent) * font->s= cale); + usWinDescent =3D (USHORT)roundheight((float)(wm->usWinDescent) * font-= >scale); + sAvgCharWidth =3D (SHORT)roundheight((float)(wm->sAvgCharWidth) * font= ->scale); =20 tm->tmAscent =3D (LONG)usWinAscent; tm->tmDescent =3D (LONG)usWinDescent; @@ -114,7 +114,7 @@ static VOID ScaleFont(const AFM *afm, LO =20 font->scale *=3D (float)wm->usUnitsPerEm / 1000.0; =20 - tm->tmMaxCharWidth =3D (LONG)round( + tm->tmMaxCharWidth =3D (LONG)roundheight( (afm->FontBBox.urx - afm->FontBBox.llx) * font->scale); =20 TRACE("Selected PS font '%s' size %d weight %ld.\n", afm->FontName, Index: dlls/wininet/internet.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/winex/dlls/wininet/internet.h,v retrieving revision 1.5 diff -u -p -r1.5 internet.h --- dlls/wininet/internet.h 12 Jan 2004 22:44:01 -0000 1.5 +++ dlls/wininet/internet.h 8 Nov 2004 08:36:58 -0000 @@ -29,6 +29,7 @@ #endif #ifdef HAVE_NETINET_IN_H # include +# include # include #endif =20 Index: scheduler/pthread.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/winex/scheduler/pthread.c,v retrieving revision 1.15 diff -u -p -r1.15 pthread.c --- scheduler/pthread.c 16 Mar 2004 20:16:04 -0000 1.15 +++ scheduler/pthread.c 8 Nov 2004 08:36:58 -0000 @@ -28,6 +28,8 @@ static int init_done; static void create_atfork_cs(void); static void grab_libc(void); =20 +static CRITICAL_SECTION atfork_section; + void PTHREAD_init_done(void) { create_atfork_cs(); /* Must be called before setting init_done */ @@ -258,19 +260,12 @@ strong_alias(__pthread_kill_other_thread =20 #define MAX_ATFORK 8 /* libc doesn't need that many anyway */ =20 -static CRITICAL_SECTION atfork_section; typedef void (*atfork_handler)(); static atfork_handler atfork_prepare[MAX_ATFORK]; static atfork_handler atfork_parent[MAX_ATFORK]; static atfork_handler atfork_child[MAX_ATFORK]; static int atfork_count; =20 -static void create_atfork_cs(void) -{ - InitializeCriticalSection( &atfork_section ); - CRITICAL_SECTION_NAME( &atfork_section, "atfork_section" ); -} - int __pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)) @@ -711,4 +706,10 @@ static void grab_libc(void) =20 #endif /* __GLIBC__ */ =20 +static void create_atfork_cs(void) +{ + InitializeCriticalSection( &atfork_section ); + CRITICAL_SECTION_NAME( &atfork_section, "atfork_section" ); +} + #endif /* USE_PTHREADS */ Index: server/fd_server.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/winex/server/fd_server.c,v retrieving revision 1.10 diff -u -p -r1.10 fd_server.c --- server/fd_server.c 4 Aug 2004 12:26:33 -0000 1.10 +++ server/fd_server.c 8 Nov 2004 08:36:58 -0000 @@ -547,6 +547,24 @@ static void create_fd_server( int fd ) =20 pthread_attr_destroy( &attr ); } +#elif defined(__FreeBSD__) + { + pid_t child; + + switch (child =3D rfork(RFMEM | RFPROC)) { + case 0: + /* in child, successful */ + exit(fd_server_thread(NULL)); + break; + case -1: + /* in parent, unsuccessful */ + fatal_perror( "wineserver: rfork" ); + break; + default: + /* in parent, successful */ + break; + } + } #else { void* stack =3D malloc( stack_size ); Index: server/mem_malloc.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/winex/server/mem_malloc.c,v retrieving revision 1.2 diff -u -p -r1.2 mem_malloc.c --- server/mem_malloc.c 24 Jun 2004 20:17:58 -0000 1.2 +++ server/mem_malloc.c 8 Nov 2004 08:36:58 -0000 @@ -7,6 +7,7 @@ #define DEBUG /* In case you need to turn on some more debug checks= to track down a corruptor. Need to have PH_TRACE on to make sense */ #endif =20 +#include "config.h" #include "mem_defs.h" #include "mem_globals.c" =20 --V0207lvV8h4k8FAm-- --t0UkRYy7tHLRMCai Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: '' iD8DBQFBj0AmueUpAYYNtTsRAtnxAJ91bR8yr/SbwU2pJZrTeoH703CR2ACeI9ym JmBoPdOgGDO1lRE2c+5GBvw= =JdNn -----END PGP SIGNATURE----- --t0UkRYy7tHLRMCai-- From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 8 11:01:50 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2486516A4CE for ; Mon, 8 Nov 2004 11:01:50 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F084543D1F for ; Mon, 8 Nov 2004 11:01:49 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA8B1nAT010076 for ; Mon, 8 Nov 2004 11:01:49 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA8B1n1D010070 for emulation@freebsd.org; Mon, 8 Nov 2004 11:01:49 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 8 Nov 2004 11:01:49 GMT Message-Id: <200411081101.iA8B1n1D010070@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: emulation@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 11:01:50 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/12/28] kern/46576 emulation FreeBSD 4.6 broke linux emulation install o [2003/06/28] kern/53874 emulation /usr/ports/emulators/linux_base isn't wor o [2003/07/30] ports/55032 emulation java/jdk13: SVr4 emulation interferes wit 3 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow o [2000/11/13] kern/22826 emulation Memory limits have no effect in linux com o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i o [2001/07/14] kern/28966 emulation [patch] math libraries in linux emulation p [2002/04/16] kern/37161 emulation ext2 linux file system, error handling la o [2002/11/07] kern/45023 emulation flexlm does not run with linux-base-7, st o [2003/09/24] kern/57192 emulation linux-ibm-java1.4 freeze f [2004/03/04] ports/63747 emulation vmmon is not performing o [2004/06/20] kern/68131 emulation java/linux-ibm-jdk14: linux ibm jdk 1.4.1 o [2004/06/22] ports/68202 emulation [patch] Make vmware2 compile on -current o [2004/06/24] ports/68265 emulation [patch] Make rtc compile on -current (nee o [2004/10/20] kern/72922 emulation linux emulation: suid/sgid threaded appli 12 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/12/15] kern/23561 emulation Linux compatibility mode does not support o [2001/08/14] kern/29698 emulation linux ipcs doesn'work o [2002/06/12] kern/39201 emulation ptrace(2) and rfork(RFLINUXTHPN) confuse o [2002/08/11] kern/41543 emulation Easier wine/w23 support p [2002/09/04] kern/42404 emulation TIOCSCTTY not implemented in linuxulator s [2002/09/06] kern/42466 emulation linux: 'ipc' typ=258 not implemented p [2003/01/22] kern/47349 emulation Fake a sound ioctl (plus linux hook) o [2003/08/21] kern/55835 emulation Linux IPC emulation missing SETALL syscal f [2004/06/30] ports/68532 emulation Add support for multiple VMWare instances o [2004/09/09] ports/71536 emulation emulators/rtc: kernel msg "rtc: [number] o [2004/10/26] kern/73165 emulation [patch] getting rid of COMPAT_43 dependan 11 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 8 11:01:57 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3293716A4D5 for ; Mon, 8 Nov 2004 11:01:57 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1085043D45 for ; Mon, 8 Nov 2004 11:01:57 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA8B1u5A010189 for ; Mon, 8 Nov 2004 11:01:56 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA8B1t4J010184 for freebsd-emulation@freebsd.org; Mon, 8 Nov 2004 11:01:55 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 8 Nov 2004 11:01:55 GMT Message-Id: <200411081101.iA8B1t4J010184@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 11:01:57 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/04/16] i386/11165 emulation IBCS2 don't work correctly with PID_MAX 9 o [2004/07/14] ports/69041 emulation Please portlint [emulators/vmware3] o [2004/10/19] ports/72865 emulation emulators/vmware3 crashes on 5.3-STABLE 3 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 8 14:39:08 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD2F916A4CE for ; Mon, 8 Nov 2004 14:39:08 +0000 (GMT) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7643D43D39 for ; Mon, 8 Nov 2004 14:39:08 +0000 (GMT) (envelope-from gerald@pfeifer.com) Received: from [128.131.111.60] (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id E119C13798; Mon, 8 Nov 2004 15:39:06 +0100 (CET) Date: Mon, 8 Nov 2004 15:39:10 +0100 (CET) From: Gerald Pfeifer To: Bruce M Simpson In-Reply-To: <20041108094510.GC3132@empiric.icir.org> Message-ID: References: <20041108094510.GC3132@empiric.icir.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: emulation@FreeBSD.org Subject: Re: [PATCH] WineX: fix compilation on FreeBSD 5.3-RELEASE X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 14:39:09 -0000 Bruce, On Mon, 8 Nov 2004, Bruce M Simpson wrote: > This patch is currently untested. A number of other developers in the > FreeBSD community are also interested in running Windows games under > FreeBSD using WineX, and I hope to have feedback from them soon. if some of this is also applicable to Wine, would you mind submitting a similar patch to wine-patches@winehq.com as well? I have been spending weeks (if not more) to ensure Wine keeps building and more or less working on FreeBSD, but it might well be that some of your patches are superior to what is in that tree, and it would be a pity if you'd focus on WineX only. Gerald -- Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/