diff options
author | novel <novel@FreeBSD.org> | 2006-01-30 16:28:43 +0000 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2006-01-30 16:28:43 +0000 |
commit | db6682ffeab35503a129ba1acd7b2f22ad438c28 (patch) | |
tree | 926680c2ae746af9729595950c9ed1092561d2fc /astro/gpsd | |
parent | 3c5b2afbb7e2a63f9989e7fd2b9f5a109051ba69 (diff) | |
download | FreeBSD-ports-db6682ffeab35503a129ba1acd7b2f22ad438c28.zip FreeBSD-ports-db6682ffeab35503a129ba1acd7b2f22ad438c28.tar.gz |
Fix build on 4.x.
Reported by: pointyhat via kris
Diffstat (limited to 'astro/gpsd')
-rw-r--r-- | astro/gpsd/Makefile | 2 | ||||
-rw-r--r-- | astro/gpsd/files/patch-gpspipe.c | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/astro/gpsd/Makefile b/astro/gpsd/Makefile index e1713a7..c7ffa30 100644 --- a/astro/gpsd/Makefile +++ b/astro/gpsd/Makefile @@ -14,6 +14,8 @@ MAINTAINER= toxa@toxahost.ru COMMENT= Daemon that monitors one or more GPSes attached to a host computer GNU_CONFIGURE= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ + LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" MAN1= gpsfake.1 gpsflash.1 gpspipe.1 gpsprof.1 rtcmdecode.1 sirfmon.1 xgps.1 MAN3= libgps.3 libgpsd.3 libgpsmm.3 MAN5= rtcm-104.5 srec.5 diff --git a/astro/gpsd/files/patch-gpspipe.c b/astro/gpsd/files/patch-gpspipe.c new file mode 100644 index 0000000..8cce28b --- /dev/null +++ b/astro/gpsd/files/patch-gpspipe.c @@ -0,0 +1,10 @@ +--- gpspipe.c.orig Mon Jan 30 16:04:07 2006 ++++ gpspipe.c Mon Jan 30 16:04:56 2006 +@@ -26,6 +26,7 @@ + + #include <errno.h> + #include <stdio.h> ++#include <sys/types.h> + #include <sys/socket.h> + #include <unistd.h> + #include <string.h> |