freebsd-ports/lang/TenDRA/files/patch-ac
Tilman Keskinoz a334cf60ed - Update to CVS snapshot 20030526, which fixes the build problems on 5.x
- Give maintainership to submitter

"Unfortunately FreeBSD 5.x uses the GNU C extension
__attribute__((__aligned__(x))) in a couple of system headers
(<machine/npx.h>, <machine/signal.h> and <machine/ucontext.h> for i386).  To
avoid a syntax error __aligned(x) is removed by a #define, but programs that
use struct sigcontext, struct savexmm or mcontext_t probably won't work."

PR:		52619
Submitted by:	Stefan Farfeleder <stefan@fafoe.dyndns.org>
2003-06-03 08:16:58 +00:00

25 lines
839 B
Text

Index: src/installers/80x86/common/instr386.c
===================================================================
RCS file: /usr/home/stefan/tendra/cvsup/tendra/src/installers/80x86/common/instr386.c,v
retrieving revision 1.4
diff -u -r1.4 instr386.c
--- src/installers/80x86/common/instr386.c 21 Dec 2002 21:31:56 -0000 1.4
+++ src/installers/80x86/common/instr386.c 14 May 2003 17:14:29 -0000
@@ -5250,7 +5250,7 @@
if (sz == 64) {
int riu = regsinuse;
regsinuse |= 0x2;
- move (shb, bottom, reg2);
+ move (ulongsh, bottom, reg2); /* can only be a simple constant */
regsinuse = riu;
}
else
@@ -5515,7 +5515,7 @@
if (sz == 64) {
int riu = regsinuse;
regsinuse |= 0x2;
- move (shb, bottom, reg2);
+ move (ulongsh, bottom, reg2); /* can only be a simple constant */
regsinuse = riu;
}
else