[arch-commits] Commit in xfce4-mailwatch-plugin/trunk (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Apr 28 22:43:54 EDT 2012


    Date: Saturday, April 28, 2012 @ 22:43:54
  Author: foutrelis
Revision: 157626

upgpkg: xfce4-mailwatch-plugin 1.1.0-5

libxfce4util 4.10.0 and xfce4-panel 4.10.0 rebuild.

Added:
  xfce4-mailwatch-plugin/trunk/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch
Modified:
  xfce4-mailwatch-plugin/trunk/PKGBUILD

-------------------------------------------------------------+
 PKGBUILD                                                    |    9 ++++--
 only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch |   13 ++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-29 02:08:46 UTC (rev 157625)
+++ PKGBUILD	2012-04-29 02:43:54 UTC (rev 157626)
@@ -4,7 +4,7 @@
 
 pkgname=xfce4-mailwatch-plugin
 pkgver=1.1.0
-pkgrel=4
+pkgrel=5
 pkgdesc="A mailbox watch/check plugin for the Xfce4 panel"
 arch=(i686 x86_64)
 license=('GPL2')
@@ -15,12 +15,15 @@
 options=('!libtool')
 install=${pkgname}.install
 source=(http://spuriousinterrupt.org/files/mailwatch/${pkgname}-${pkgver}.tar.bz2
-	xfce4-mailwatch-plugin-1.1.0-underlink.patch)
+	xfce4-mailwatch-plugin-1.1.0-underlink.patch
+	only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch)
 md5sums=('f84dce86be1d7f25f169f262aaacee4e'
-         '47fe8588e3bb642e1b507a854927e6db')
+         '47fe8588e3bb642e1b507a854927e6db'
+         'd91ca2b9534e9e2d8dcbd94306b91ade')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
+  patch -Np0 -i ${srcdir}/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch
   # fix for panel4.8 from Fedora
   patch -Np1 -i ${srcdir}/xfce4-mailwatch-plugin-1.1.0-underlink.patch
   xdt-autogen

Added: only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch
===================================================================
--- only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch	                        (rev 0)
+++ only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch	2012-04-29 02:43:54 UTC (rev 157626)
@@ -0,0 +1,13 @@
+--- libmailwatch-core/mailwatch-net-conn.c.orig	2012-04-29 05:38:20.015564589 +0300
++++ libmailwatch-core/mailwatch-net-conn.c	2012-04-29 05:39:01.943290639 +0300
+@@ -621,8 +621,10 @@ xfce_mailwatch_net_conn_make_secure(Xfce
+                            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



More information about the arch-commits mailing list