summaryrefslogtreecommitdiff
path: root/security/libgcrypt/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'security/libgcrypt/patches/patch-ae')
-rw-r--r--security/libgcrypt/patches/patch-ae34
1 files changed, 32 insertions, 2 deletions
diff --git a/security/libgcrypt/patches/patch-ae b/security/libgcrypt/patches/patch-ae
index cbdd1ce8f8b..25e95eba373 100644
--- a/security/libgcrypt/patches/patch-ae
+++ b/security/libgcrypt/patches/patch-ae
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.1 2005/01/18 13:11:38 tv Exp $
+$NetBSD: patch-ae,v 1.2 2005/03/10 15:38:33 tv Exp $
---- src/ath.h.orig 2005-01-18 08:08:14.000000000 -0500
+--- src/ath.h.orig Thu Nov 25 14:29:26 2004
+++ src/ath.h
@@ -31,6 +31,12 @@
@@ -15,3 +15,33 @@ $NetBSD: patch-ae,v 1.1 2005/01/18 13:11:38 tv Exp $
/* Define _ATH_EXT_SYM_PREFIX if you want to give all external symbols
a prefix. */
+@@ -83,6 +89,14 @@ struct ath_ops
+ int (*connect) (int s, void *addr, socklen_t length);
+ int (*sendmsg) (int s, const void *msg, int flags);
+ int (*recvmsg) (int s, void *msg, int flags);
++#elif defined(__INTERIX)
++ ssize_t (*select) (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
++ struct timeval *timeout);
++ ssize_t (*waitpid) (pid_t pid, int *status, int options);
++ int (*accept) (int s, struct sockaddr *addr, socklen_t *length_ptr);
++ int (*connect) (int s, struct sockaddr *addr, socklen_t length);
++ int (*sendmsg) (int s, const void *msg, int flags);
++ int (*recvmsg) (int s, void *msg, int flags);
+ #else
+ ssize_t (*select) (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
+ struct timeval *timeout);
+@@ -117,6 +131,14 @@ ssize_t ath_select (int nfd, void *rset,
+ ssize_t ath_waitpid (pid_t pid, int *status, int options);
+ int ath_accept (int s, void *addr, int *length_ptr);
+ int ath_connect (int s, void *addr, int length);
++int ath_sendmsg (int s, const void *msg, int flags);
++int ath_recvmsg (int s, void *msg, int flags);
++#elif defined(__INTERIX)
++ssize_t ath_select (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
++ struct timeval *timeout);
++ssize_t ath_waitpid (pid_t pid, int *status, int options);
++int ath_accept (int s, struct sockaddr *addr, socklen_t *length_ptr);
++int ath_connect (int s, struct sockaddr *addr, socklen_t length);
+ int ath_sendmsg (int s, const void *msg, int flags);
+ int ath_recvmsg (int s, void *msg, int flags);
+ #else