Commits

Toby Peterson authored 28c332227e2
New: webpublish 0.1.0

Tool for synchronizing a local directory with an FTP server. git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@5344 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

www/webpublish/files/patch-ftplib.c

Added
1 +--- webpublish/ftplib.c.old Sun Feb 8 13:58:50 2004
2 ++++ webpublish/ftplib.c Sun Feb 8 13:59:13 2004
3 +@@ -32,7 +32,7 @@
4 + #include <string.h>
5 + #include <errno.h>
6 + #include <ctype.h>
7 +-#if defined(__unix__)
8 ++#if defined(__unix__) || defined(__APPLE__)
9 + #include <sys/time.h>
10 + #include <sys/types.h>
11 + #include <sys/socket.h>
12 +@@ -91,7 +91,7 @@
13 +
14 + GLOBALDEF int ftplib_debug = 0;
15 +
16 +-#if defined(__unix__) || defined(VMS)
17 ++#if defined(__unix__) || defined(VMS) || defined(__APPLE__)
18 + #define net_read read
19 + #define net_write write
20 + #define net_close close

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut