diff options
author | jlam <jlam> | 2001-03-02 17:38:09 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-03-02 17:38:09 +0000 |
commit | 82b80520b18ba9f6a394197f525ee138b0106dcb (patch) | |
tree | c31f2ce837102d7c7915729a35dc0a298a446886 /comms/jpilot-syncmal/patches | |
parent | 9fcaa62174d35444d547a6f346997dba1695c90a (diff) | |
download | pkgsrc-82b80520b18ba9f6a394197f525ee138b0106dcb.tar.gz |
Define __unix__=1 for malsync code to compile correctly. Fixes pkg/12308.
Diffstat (limited to 'comms/jpilot-syncmal/patches')
-rw-r--r-- | comms/jpilot-syncmal/patches/patch-aa | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/comms/jpilot-syncmal/patches/patch-aa b/comms/jpilot-syncmal/patches/patch-aa index edb342638b5..acacb49e1eb 100644 --- a/comms/jpilot-syncmal/patches/patch-aa +++ b/comms/jpilot-syncmal/patches/patch-aa @@ -1,21 +1,16 @@ -$NetBSD: patch-aa,v 1.2 2001/03/02 00:14:23 jlam Exp $ +$NetBSD: patch-aa,v 1.3 2001/03/02 17:38:10 jlam Exp $ --- ../malsync/mal/common/AGNet.h.orig Sun May 14 17:17:36 2000 +++ ../malsync/mal/common/AGNet.h -@@ -52,8 +52,12 @@ - typedef int AGFd; - # endif /* if (!defined(__palmos__)) */ +@@ -54,6 +54,7 @@ # else /* defined(macintosh) */ -+# if (!defined(__unix__)) -+# define __unix__ 1 -+# endif # include <netdb.h> # include <sys/types.h> +# include <sys/param.h> # include <sys/socket.h> # include <unistd.h> # include <netinet/in.h> -@@ -61,7 +65,7 @@ +@@ -61,7 +62,7 @@ # include <sys/filio.h> # include <arpa/inet.h> # else |