From c58fb97ded99f0724761c985d15e26acee6f4f36 Mon Sep 17 00:00:00 2001 From: shaun Date: Tue, 21 Nov 2006 19:48:18 +0000 Subject: Fix build on FreeBSD 4.x. PR: ports/104320 (partial) Submitted by: "Alex Samorukov" (maintainer) --- palm/pilot-link/Makefile | 2 ++ palm/pilot-link/files/patch-src_pilot-clip.c | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 palm/pilot-link/files/patch-src_pilot-clip.c (limited to 'palm/pilot-link') 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 ++#include + #include + + #include "pi-source.h" -- cgit