summaryrefslogtreecommitdiff
path: root/comms/jpilot-syncmal/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-03-02 00:14:22 +0000
committerjlam <jlam@pkgsrc.org>2001-03-02 00:14:22 +0000
commit23ea458f4cb37b26cab02171a04192723ff826df (patch)
tree5a02a0b25e4fbfafdc0e1540ddfb1982611c61d9 /comms/jpilot-syncmal/patches
parent2fae512c13d26f632cdaafe82fde570c12262d34 (diff)
downloadpkgsrc-23ea458f4cb37b26cab02171a04192723ff826df.tar.gz
Define __unix__ if !(palmos|win32|macintosh). This should fix pkg/12308.
Diffstat (limited to 'comms/jpilot-syncmal/patches')
-rw-r--r--comms/jpilot-syncmal/patches/patch-aa15
1 files changed, 10 insertions, 5 deletions
diff --git a/comms/jpilot-syncmal/patches/patch-aa b/comms/jpilot-syncmal/patches/patch-aa
index 29b1505e71e..edb342638b5 100644
--- a/comms/jpilot-syncmal/patches/patch-aa
+++ b/comms/jpilot-syncmal/patches/patch-aa
@@ -1,16 +1,21 @@
-$NetBSD: patch-aa,v 1.1 2001/03/02 00:04:27 jlam Exp $
+$NetBSD: patch-aa,v 1.2 2001/03/02 00:14:23 jlam Exp $
---- ../malsync/mal/common/AGNet.h.orig Sun May 14 23:17:36 2000
-+++ ../malsync/mal/common/AGNet.h Thu Jun 15 14:20:07 2000
-@@ -54,6 +54,7 @@
+--- ../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__)) */
# 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 +62,7 @@
+@@ -61,7 +65,7 @@
# include <sys/filio.h>
# include <arpa/inet.h>
# else