diff options
author | shaun <shaun@FreeBSD.org> | 2006-11-22 03:48:18 +0800 |
---|---|---|
committer | shaun <shaun@FreeBSD.org> | 2006-11-22 03:48:18 +0800 |
commit | c58fb97ded99f0724761c985d15e26acee6f4f36 (patch) | |
tree | eb5b7d80978f87ca8d994184093ab118a02005e5 /palm/pilot-link | |
parent | 27b92c621f51d12903901c627c152e7ef4a38474 (diff) | |
download | freebsd-ports-gnome-c58fb97ded99f0724761c985d15e26acee6f4f36.tar.gz freebsd-ports-gnome-c58fb97ded99f0724761c985d15e26acee6f4f36.tar.zst freebsd-ports-gnome-c58fb97ded99f0724761c985d15e26acee6f4f36.zip |
Fix build on FreeBSD 4.x.
PR: ports/104320 (partial)
Submitted by: "Alex Samorukov" <samm@os2.kiev.ua> (maintainer)
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" |