summaryrefslogtreecommitdiff
path: root/mail/alpine/patches/patch-ab
blob: 2085d4748027a490c77350448818a41b8e7cd448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ab,v 1.4 2009/08/06 20:01:50 plunky Exp $

OpenSSL provides a version of STRING that conflicts with the Alpine
internal version. Since we don't use it, just define it away for now..

--- imap/src/osdep/unix/ssl_unix.c.orig	2009-08-06 20:45:06.000000000 +0100
+++ imap/src/osdep/unix/ssl_unix.c
@@ -27,6 +27,7 @@
  */
 
 #define crypt ssl_private_crypt
+#define STRING ssl_private_STRING
 #include <x509v3.h>
 #include <ssl.h>
 #include <err.h>
@@ -36,6 +37,7 @@
 #include <crypto.h>
 #include <rand.h>
 #undef crypt
+#undef STRING
 
 #define SSLBUFLEN 8192
 #define SSLCIPHERLIST "ALL:!LOW"