forked from Lainports/freebsd-ports
- Add patch to fix functionality on FreeBSD 7.x
PR: 133553 Submitted by: Sergei Mozhaisky <sergei dot mozhaisky at gmail dot com>
This commit is contained in:
parent
55412867a9
commit
671d2b90e0
2 changed files with 16 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= pose
|
||||
PORTVERSION= 3.5
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= palm emulators
|
||||
MASTER_SITES= http://www.palmos.com/dev/tools/emulator/sources/ \
|
||||
http://www.palmos.com/dev/tools/emulator/:skins
|
||||
|
|
@ -28,6 +28,7 @@ CONFIGURE_ARGS= --with-x --with-fltk=${LOCALBASE}
|
|||
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
|
||||
CFLAGS=-DBROKEN_VIRTUAL_DEFAULT_ARGUMENTS=1 \
|
||||
LIBS="${PTHREAD_LIBS}"
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
|
|
|||
14
palm/pose/files/patch-align
Normal file
14
palm/pose/files/patch-align
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
--- ../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;
|
||||
|
||||
|
||||
Loading…
Add table
Reference in a new issue