diff options
author | Shaun Amott <shaun@FreeBSD.org> | 2006-11-21 19:48:18 +0000 |
---|---|---|
committer | Shaun Amott <shaun@FreeBSD.org> | 2006-11-21 19:48:18 +0000 |
commit | c0acac7fdd693610c8d40d7b7f42ed1df84ae95c (patch) | |
tree | 126cb60fcb81eaa4cf1644cd1dfa82a20e2c15a3 /palm/pilot-link | |
parent | Update to 2.16.2. (diff) |
Fix build on FreeBSD 4.x.
PR: ports/104320 (partial)
Submitted by: "Alex Samorukov" <samm@os2.kiev.ua> (maintainer)
Notes
Notes:
svn path=/head/; revision=177746
Diffstat (limited to 'palm/pilot-link')
-rw-r--r-- | palm/pilot-link/Makefile | 2 | ||||
-rw-r--r-- | palm/pilot-link/files/patch-src_pilot-clip.c | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/palm/pilot-link/Makefile b/palm/pilot-link/Makefile index 907ceb740d66..b66b109ef5fe 100644 --- a/palm/pilot-link/Makefile +++ b/palm/pilot-link/Makefile @@ -35,6 +35,8 @@ OPTIONS= PNG "build with png support" off \ .if !defined(WITHOUT_THREADS) CONFIGURE_ARGS+= --enable-threads +CFLAGS+= ${PTHREAD_LIBS} +CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" .endif .if defined(WITH_USB) diff --git a/palm/pilot-link/files/patch-src_pilot-clip.c b/palm/pilot-link/files/patch-src_pilot-clip.c new file mode 100644 index 000000000000..890c6ac60b61 --- /dev/null +++ b/palm/pilot-link/files/patch-src_pilot-clip.c @@ -0,0 +1,10 @@ +--- src/pilot-clip.c.orig Sun Aug 6 16:55:58 2006 ++++ src/pilot-clip.c Tue Nov 21 19:24:15 2006 +@@ -18,6 +18,7 @@ + */ + + #include <stdio.h> ++#include <sys/types.h> + #include <netinet/in.h> + + #include "pi-source.h" |