1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/lang/TenDRA/files/patch-ab
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

26 lines
898 B
Plaintext

Index: src/installers/80x86/common/codec.c
===================================================================
RCS file: /usr/home/stefan/tendra/cvsup/tendra/src/installers/80x86/common/codec.c,v
retrieving revision 1.4
diff -u -r1.4 codec.c
--- src/installers/80x86/common/codec.c 21 Dec 2002 21:31:32 -0000 1.4
+++ src/installers/80x86/common/codec.c 14 May 2003 17:11:39 -0000
@@ -202,7 +202,7 @@
qw.where_exp = copyexp (dest.where_exp);
else
qw.where_exp = copyexp (reg0.where_exp);
- sh (qw.where_exp) = sha;
+ sh (qw.where_exp) = sh(a);
qw.where_off = 0;
coder (qw, stack, a);
(*op) (sha, qw, mw (b, 0), dest);
@@ -215,7 +215,7 @@
qw.where_exp = copyexp (dest.where_exp);
else
qw.where_exp = copyexp (reg0.where_exp);
- sh (qw.where_exp) = sha;
+ sh (qw.where_exp) = sh(b);
qw.where_off = 0;
coder (qw, stack, b);
(*op) (sha, mw (a, 0), qw, dest);