1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/lang/TenDRA/files/patch-ad
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
830 B
Plaintext

Index: src/installers/80x86/common/scan2.c
===================================================================
RCS file: /usr/home/stefan/tendra/cvsup/tendra/src/installers/80x86/common/scan2.c,v
retrieving revision 1.4
diff -u -r1.4 scan2.c
--- src/installers/80x86/common/scan2.c 21 Dec 2002 21:32:24 -0000 1.4
+++ src/installers/80x86/common/scan2.c 20 May 2003 21:55:22 -0000
@@ -843,7 +843,7 @@
*bottom = son(*bottom);
}
else
- setsh (son(*bottom), ulongsh);
+ setsh (*bottom, ulongsh);
}
}
cc1 (sto, to, 1, e, notopnd, 1, usereg0);
@@ -1026,7 +1026,7 @@
*arglist = son(*arglist);
}
else
- setsh (son(*arglist), (is_signed (sh (e)) ? slongsh : ulongsh));
+ setsh (*arglist, (is_signed (sh (e)) ? slongsh : ulongsh));
}
if (last(*arglist))
break;