summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2002-07-13 19:58:11 +0000
committerNick Hadaway <raker@gentoo.org>2002-07-13 19:58:11 +0000
commit46e36ad256d4f46b124813e5702b9c6aed44cd5b (patch)
tree9a97c2da42e9aed1ba26ab1e540e6be2ac91317d /dev-libs
parenteroaster masked for b0rkenness (diff)
downloadhistorical-46e36ad256d4f46b124813e5702b9c6aed44cd5b.tar.gz
historical-46e36ad256d4f46b124813e5702b9c6aed44cd5b.tar.bz2
historical-46e36ad256d4f46b124813e5702b9c6aed44cd5b.zip
added cyrus-sasl-iovec.diff to allow the new version of cyrus-sasl to
compile.
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/cyrus-sasl/files/cyrus-sasl-iovec.diff53
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/cyrus-sasl/files/cyrus-sasl-iovec.diff b/dev-libs/cyrus-sasl/files/cyrus-sasl-iovec.diff
new file mode 100644
index 000000000000..bf1e27a425aa
--- /dev/null
+++ b/dev-libs/cyrus-sasl/files/cyrus-sasl-iovec.diff
@@ -0,0 +1,53 @@
+diff -urN cyrus-sasl-2.1.5/config.h.in cyrus-sasl-2.1.5-modified/config.h.in
+--- cyrus-sasl-2.1.5/config.h.in Mon Jun 10 09:54:19 2002
++++ cyrus-sasl-2.1.5-modified/config.h.in Sat Jul 13 14:50:08 2002
+@@ -302,16 +302,16 @@
+
+
+ /* Create a struct iovec if we need one */
+-#if !defined(_WIN32) && !defined(HAVE_SYS_UIO_H)
++/* #if !defined(_WIN32) && !defined(HAVE_SYS_UIO_H) */
+ /* (win32 is handled in sasl.h) */
+-struct iovec {
+- char *iov_base;
+- long iov_len;
+-};
+-#else
++/* struct iovec { */
++/* char *iov_base; */
++/* long iov_len; */
++/* }; */
++/* #else */
+ #include <sys/types.h>
+ #include <sys/uio.h>
+-#endif
++/* #endif */
+
+ /* location of the random number generator */
+ #ifndef DEV_RANDOM
+diff -urN cyrus-sasl-2.1.5/saslauthd/saslauthd.h.in cyrus-sasl-2.1.5-modified/saslauthd/saslauthd.h.in
+--- cyrus-sasl-2.1.5/saslauthd/saslauthd.h.in Wed Jun 5 20:44:34 2002
++++ cyrus-sasl-2.1.5-modified/saslauthd/saslauthd.h.in Sat Jul 13 14:55:28 2002
+@@ -186,15 +186,15 @@
+ #endif
+
+ /* Create a struct iovec if we need one */
+-#if !defined(HAVE_SYS_UIO_H)
+-struct iovec {
+- long iov_len;
+- char *iov_base;
+-};
+-#else
++/* #if !defined(HAVE_SYS_UIO_H) */
++/* struct iovec { */
++/* long iov_len; */
++/* char *iov_base; */
++/* }; */
++/* #else */
+ #include <sys/types.h>
+ #include <sys/uio.h>
+-#endif
++/* #endif */
+
+ #ifndef HAVE_GETADDRINFO
+ #define getaddrinfo sasl_getaddrinfo