diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2002-12-26 02:11:19 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2002-12-26 02:11:19 +0000 |
commit | c3c62c297af9e94804cb1a12fb6078aea7364fa7 (patch) | |
tree | cb34878f097201ab8d17d552ac1e520e203351cc /palm/coldsync/files | |
parent | 171d775e647fc954f679f60a2176f0d70cc3dcf0 (diff) | |
download | ports-c3c62c297af9e94804cb1a12fb6078aea7364fa7.tar.gz ports-c3c62c297af9e94804cb1a12fb6078aea7364fa7.zip |
Notes
Diffstat (limited to 'palm/coldsync/files')
-rw-r--r-- | palm/coldsync/files/patch-in6 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/palm/coldsync/files/patch-in6 b/palm/coldsync/files/patch-in6 new file mode 100644 index 000000000000..1c236a50dd00 --- /dev/null +++ b/palm/coldsync/files/patch-in6 @@ -0,0 +1,23 @@ +--- libpconn/PConnection_net.c Sun Apr 15 06:33:56 2001 ++++ libpconn/PConnection_net.c Wed Dec 25 20:09:52 2002 +@@ -10,5 +10,7 @@ + #include <string.h> /* For bzero() */ + #include <arpa/nameser.h> /* Solaris's <resolv.h> requires this */ ++#ifndef __FreeBSD__ /* resolv.h without in6.h blows up on FreeBSD */ + #include <resolv.h> /* For inet_ntop() under Solaris */ ++#endif + + #if HAVE_LIBINTL_H +--- src/coldsync.c Tue May 15 15:23:40 2001 ++++ src/coldsync.c Wed Dec 25 20:12:40 2002 +@@ -25,5 +25,9 @@ + + #include <arpa/nameser.h> /* Solaris's <resolv.h> requires this */ ++#ifdef __FreeBSD__ ++#define __KAME_NETINET_IN_H_INCLUDED_ ++#include <netinet6/in6.h> ++#undef __KAME_NETINET_IN_H_INCLUDED_ /* XXX: you are welcome to fix this */ +-#include <resolv.h> /* For inet_ntop() under Solaris */ ++#endif + #include <unistd.h> /* For sleep(), getopt() */ + #include <ctype.h> /* For isalpha() and friends */ |