diff options
author | Ján Sučan <sucan@runbox.com> | 2013-06-16 16:40:25 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-06-22 21:32:31 -0300 |
commit | 614dbe7772172720ca868c5ba660d3bda6bb8df5 (patch) | |
tree | 320560ebfc7790564e59dda730302cc30f81385c /desktop/xfce4-mailwatch-plugin/gnutls-transport-set-lowat.patch | |
parent | 40194d9f5503ce24e39525ab47e4d31aa1a403b3 (diff) |
desktop/xfce4-mailwatch-plugin: Added (Xfce plugin for checking mails)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/xfce4-mailwatch-plugin/gnutls-transport-set-lowat.patch')
-rw-r--r-- | desktop/xfce4-mailwatch-plugin/gnutls-transport-set-lowat.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/xfce4-mailwatch-plugin/gnutls-transport-set-lowat.patch b/desktop/xfce4-mailwatch-plugin/gnutls-transport-set-lowat.patch new file mode 100644 index 0000000000000..6ff8139ebb47f --- /dev/null +++ b/desktop/xfce4-mailwatch-plugin/gnutls-transport-set-lowat.patch @@ -0,0 +1,15 @@ +--- xfce4-mailwatch-plugin-1.1.0.orig/libmailwatch-core/mailwatch-net-conn.c 2008-08-30 10:57:36.000000000 +0200 ++++ xfce4-mailwatch-plugin-1.1.0/libmailwatch-core/mailwatch-net-conn.c 2013-06-10 14:18:36.209263440 +0200 +@@ -621,9 +621,11 @@ + net_conn->gt_creds); + gnutls_transport_set_ptr(net_conn->gt_session, + (gnutls_transport_ptr_t)net_conn->fd); ++#if GNUTLS_VERSION_NUMBER < 0x020c00 + if(fcntl(net_conn->fd, F_GETFL) & O_NONBLOCK) + gnutls_transport_set_lowat(net_conn->gt_session, 0); +- ++#endif ++ + if(!xfce_mailwatch_net_conn_tls_handshake(net_conn, error)) { + #if 0 + gnutls_bye(net_conn->gt_session, GNUTLS_SHUT_RDWR); |