freebsd-ports/palm/pose/files/patch-align
Dmitry Marakasov 671d2b90e0 - Add patch to fix functionality on FreeBSD 7.x
PR:		133553
Submitted by:	Sergei Mozhaisky <sergei dot mozhaisky at gmail dot com>
2009-04-22 00:49:38 +00:00

14 lines
491 B
Text

--- ../SrcShared/Miscellaneous.cpp.orig 2009-04-10 01:19:49.000000000 +0300
+++ ../SrcShared/Miscellaneous.cpp 2009-04-10 01:20:31.000000000 +0300
@@ -1370,7 +1370,7 @@
char buffer[ sizeof (DlpReqHeaderType) +
sizeof (DlpTinyArgWrapperType) +
sizeof (DlpWriteUserInfoReqHdrType) +
- dlpMaxUserNameSize];
+ dlpMaxUserNameSize] __attribute__((__aligned__(2)));
// Get handy pointers to all of the above.
DlpReqHeaderType* reqHdr = (DlpReqHeaderType*) buffer;