summaryrefslogtreecommitdiff
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
parent2fae512c13d26f632cdaafe82fde570c12262d34 (diff)
downloadpkgsrc-23ea458f4cb37b26cab02171a04192723ff826df.tar.gz
Define __unix__ if !(palmos|win32|macintosh). This should fix pkg/12308.
-rw-r--r--comms/jpilot-syncmal/files/patch-sum4
-rw-r--r--comms/jpilot-syncmal/patches/patch-aa15
2 files changed, 12 insertions, 7 deletions
diff --git a/comms/jpilot-syncmal/files/patch-sum b/comms/jpilot-syncmal/files/patch-sum
index 332baceae6d..6a80631ba45 100644
--- a/comms/jpilot-syncmal/files/patch-sum
+++ b/comms/jpilot-syncmal/files/patch-sum
@@ -1,3 +1,3 @@
-$NetBSD: patch-sum,v 1.1 2001/03/02 00:04:27 jlam Exp $
+$NetBSD: patch-sum,v 1.2 2001/03/02 00:14:22 jlam Exp $
-MD5 (patch-aa) = 18a9228e7e5be79ca1511d6fa670cf70
+MD5 (patch-aa) = 17b6ce8a44b309a5d98644df9bd96f50
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