Fri, 07 Sep 2012 19:08:07 +0200
Correct build configuration in Solaris subdir, correct english grammar,
remove irrelevant strip notice, introduce custom CFLAG logic, facilitate
use of Solaris Studio compiler with needed build configuration
adjustments, conditionally build 64 bit position independent code,
and accommodate tun(7) in newer Solaris releases by renaming driver
and module from conflicting 'tun' to 'vtun'. These changes include
some nonstandard 'I give up' logic causing out of tree builds by
manipulating the PATH, for example.
1 --- ./crypt-gpgme.c.orig 2009-07-01 21:28:51.000000000 -0400
2 +++ ./crypt-gpgme.c 2009-07-01 21:31:52.000000000 -0400
3 @@ -342,6 +342,7 @@
4 gpgme_error_t err;
5 gpgme_ctx_t ctx;
7 + gpgme_check_version (NULL);
8 if (!GpgmeLocaleSet)
9 {
10 gpgme_set_locale (NULL, LC_CTYPE, setlocale (LC_CTYPE, NULL));
11 --- imap/message.c
12 +++ imap/message.c
13 @@ -288,7 +288,7 @@
14 continue;
15 }
16 /* May receive FLAGS updates in a separate untagged response (#2935) */
17 - if (idx < ctx->msgcount)
18 + if (ctx->hdrs[idx] != NULL)
19 {
20 dprint (2, (debugfile, "imap_read_headers: message %d is not new\n",
21 h.sid));
22 Index: configure
23 --- configure.orig 2010-08-25 18:31:47.000000000 +0200
24 +++ configure 2011-01-23 12:26:36.000000000 +0100
25 @@ -9723,7 +9723,7 @@
26 fi
28 saved_LIBS="$LIBS"
29 - LIBS=
30 + #LIBS=
32 # OpenSolaris provides a SASL2 interface in libsasl
33 sasl_libs="sasl2 sasl"