From owner-cvs-all Fri Nov 8 0:10: 5 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8786A37B401; Fri, 8 Nov 2002 00:10:04 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36FE343E6E; Fri, 8 Nov 2002 00:10:04 -0800 (PST) (envelope-from alfred@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gA8884mV008114; Fri, 8 Nov 2002 00:08:04 -0800 (PST) (envelope-from alfred@repoman.freebsd.org) Received: (from alfred@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gA8884pn008113; Fri, 8 Nov 2002 00:08:04 -0800 (PST) Message-Id: <200211080808.gA8884pn008113@repoman.freebsd.org> From: Alfred Perlstein Date: Fri, 8 Nov 2002 00:08:04 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/emulators/wine/files patch-context_i386 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG alfred 2002/11/08 00:08:04 PST Added files: emulators/wine/files patch-context_i386 Log: Make context_i386.c work on 5.x as well as 4.x by using the DBREG_DRX macro to access the fields of 'struct dbreg' instead of accessing them directly. Because the macro is buggy on older versions of FreeBSD as it lacks proper macro argument parens, use an extra pointer as a workaround so that we'll work on pre-patched versions of FreeBSD. Reviewed by: gerald (maintainer) Revision Changes Path 1.1 +51 -0 ports/emulators/wine/files/patch-context_i386 (new) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message