aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-04-22 08:49:38 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-04-22 08:49:38 +0800
commit667b97ae1073cd0cc52e1995655a0707eb1c0007 (patch)
treeb8929eefc87fe27b10ca0876df1e851254ede3d3 /palm
parent59b46444b7228a6d2c3e6d8c2e6ca195447b376f (diff)
downloadfreebsd-ports-graphics-667b97ae1073cd0cc52e1995655a0707eb1c0007.tar.gz
freebsd-ports-graphics-667b97ae1073cd0cc52e1995655a0707eb1c0007.tar.zst
freebsd-ports-graphics-667b97ae1073cd0cc52e1995655a0707eb1c0007.zip
- Add patch to fix functionality on FreeBSD 7.x
PR: 133553 Submitted by: Sergei Mozhaisky <sergei dot mozhaisky at gmail dot com>
Diffstat (limited to 'palm')
-rw-r--r--palm/pose/Makefile3
-rw-r--r--palm/pose/files/patch-align14
2 files changed, 16 insertions, 1 deletions
diff --git a/palm/pose/Makefile b/palm/pose/Makefile
index 91b63f0ad07..89f4f4bc1c3 100644
--- a/palm/pose/Makefile
+++ b/palm/pose/Makefile
@@ -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>
diff --git a/palm/pose/files/patch-align b/palm/pose/files/patch-align
new file mode 100644
index 00000000000..fbf062ac6a7
--- /dev/null
+++ b/palm/pose/files/patch-align
@@ -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;
+
+