aboutsummaryrefslogtreecommitdiff
path: root/palm
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2006-11-21 19:48:18 +0000
committerShaun Amott <shaun@FreeBSD.org>2006-11-21 19:48:18 +0000
commitc0acac7fdd693610c8d40d7b7f42ed1df84ae95c (patch)
tree126cb60fcb81eaa4cf1644cd1dfa82a20e2c15a3 /palm
parent3ccdbf117f0ba5fda6cafefd8b9f31dcec35356e (diff)
downloadports-c0acac7fdd693610c8d40d7b7f42ed1df84ae95c.tar.gz
ports-c0acac7fdd693610c8d40d7b7f42ed1df84ae95c.zip
Notes
Diffstat (limited to 'palm')
-rw-r--r--palm/pilot-link/Makefile2
-rw-r--r--palm/pilot-link/files/patch-src_pilot-clip.c10
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"