diff options
Diffstat (limited to 'security/pgp6/files/patch-at')
-rw-r--r-- | security/pgp6/files/patch-at | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/security/pgp6/files/patch-at b/security/pgp6/files/patch-at index 3d3129218f0e..7d549aa4fd72 100644 --- a/security/pgp6/files/patch-at +++ b/security/pgp6/files/patch-at @@ -1,11 +1,11 @@ ---- libs/pgpcdk/priv/networklib/pgpsockets/common/pgpSockets.c.orig Fri Jan 23 19:46:45 2004 -+++ libs/pgpcdk/priv/networklib/pgpsockets/common/pgpSockets.c Fri Jan 23 19:47:10 2004 -@@ -41,8 +41,6 @@ +--- libs/pgpcdk/priv/networklib/pgpsockets/common/pgpSockets.c.orig 1999-08-04 11:36:04.000000000 -0700 ++++ libs/pgpcdk/priv/networklib/pgpsockets/common/pgpSockets.c 2008-08-31 00:40:02.000000000 -0700 +@@ -39,7 +39,7 @@ ________________________________________ + # define closesocket(x) close((x)) + # define ioctlsocket(a,b,c) ioctl((a),(b),(c)) typedef int SOCKET; - #if PGP_UNIX_LINUX || PGP_UNIX_HPUX || PGP_UNIX_AIX +-#if PGP_UNIX_LINUX || PGP_UNIX_HPUX || PGP_UNIX_AIX ++#if PGP_UNIX_LINUX || PGP_UNIX_HPUX || PGP_UNIX_AIX || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) int gethostname (char * name, size_t namelen); --#else --int gethostname (char * name, int namelen); - #endif /* PGP_UNIX_LINUX */ - #endif - + #else + int gethostname (char * name, int namelen); |