diff options
author | Aaron Dalton <aaron@FreeBSD.org> | 2006-06-05 21:30:34 +0000 |
---|---|---|
committer | Aaron Dalton <aaron@FreeBSD.org> | 2006-06-05 21:30:34 +0000 |
commit | b50c4a004fcfcbcd06e3a4cadd315b15fa469127 (patch) | |
tree | 09ba962029988558164753b32cebdb7448295f07 /devel/libphish/files/patch-src-phish_util_net.c | |
parent | - Update to 34.t25.d8 [1] (diff) |
Add libphish 0.1.0, a cross-platform library to interact with the Open
Phishing Database.
PR: ports/95922
Submitted by: Rashid N. Achilov <shelton@granch.ru>
Approved by: tobez
Notes
Notes:
svn path=/head/; revision=164526
Diffstat (limited to 'devel/libphish/files/patch-src-phish_util_net.c')
-rw-r--r-- | devel/libphish/files/patch-src-phish_util_net.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/libphish/files/patch-src-phish_util_net.c b/devel/libphish/files/patch-src-phish_util_net.c new file mode 100644 index 000000000000..ba3c6ccbfd7d --- /dev/null +++ b/devel/libphish/files/patch-src-phish_util_net.c @@ -0,0 +1,20 @@ +--- src/phish_util_net.c.orig Mon Mar 20 09:54:25 2006 ++++ src/phish_util_net.c Mon Jun 5 13:40:14 2006 +@@ -30,6 +30,8 @@ ++#include <sys/types.h> ++#include <sys/socket.h> + #include <netdb.h> + #include <netinet/in.h> + #include <arpa/inet.h> + #endif + + #include "phish.h" +@@ -72,7 +74,7 @@ + h->ent = NULL; + h->buf = NULL; + +-#ifdef WIN32 ++#if defined(WIN32) || defined(FreeBSD) + + h->ent = gethostbyname(name); + |