[arch-commits] Commit in claws-mail/trunk (PKGBUILD gnutls313.diff)
andyrtr at archlinux.org
andyrtr at archlinux.org
Sat Oct 13 10:59:29 UTC 2012
Date: Saturday, October 13, 2012 @ 06:59:29
Author: andyrtr
Revision: 168546
upgpkg: claws-mail 3.8.1-3
fix a starting crash triggered by new gnutls 3.1.3
Added:
claws-mail/trunk/gnutls313.diff
Modified:
claws-mail/trunk/PKGBUILD
----------------+
PKGBUILD | 14 ++++++++++----
gnutls313.diff | 12 ++++++++++++
2 files changed, 22 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-13 09:58:07 UTC (rev 168545)
+++ PKGBUILD 2012-10-13 10:59:29 UTC (rev 168546)
@@ -3,7 +3,7 @@
pkgname=claws-mail
pkgver=3.8.1
-pkgrel=2
+pkgrel=3
pkgdesc="A GTK+ based e-mail client."
arch=('i686' 'x86_64')
license=('GPL3')
@@ -19,11 +19,17 @@
provides=('claws')
options=(!libtool)
install=claws-mail.install
-source=(http://downloads.sourceforge.net/sourceforge/sylpheed-claws/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('d388929fb1c8f04d4bcb2139faaf9e70')
+source=(http://downloads.sourceforge.net/sourceforge/sylpheed-claws/${pkgname}-${pkgver}.tar.bz2
+ gnutls313.diff)
+md5sums=('d388929fb1c8f04d4bcb2139faaf9e70'
+ '21bdc9d324f9424e0071bb73be169977')
+
build() {
cd ${srcdir}/${pkgname}-${pkgver}
-
+
+ # fix a bug in gnutls cert check triggered since gnutls 3.1.3 update
+ patch -Np1 -i ${srcdir}/gnutls313.diff
+
sed -i 's@^#!.*python.*@#!/usr/bin/python2@' tools/*.py
./configure --prefix=/usr --disable-static \
Added: gnutls313.diff
===================================================================
--- gnutls313.diff (rev 0)
+++ gnutls313.diff 2012-10-13 10:59:29 UTC (rev 168546)
@@ -0,0 +1,12 @@
+diff --git a/src/common/ssl_certificate.c b/src/common/ssl_certificate.c
+index efc5c53..8303f3e 100644
+--- a/src/common/ssl_certificate.c
++++ b/src/common/ssl_certificate.c
+@@ -92,6 +92,7 @@
+ size_t size;
+ gnutls_datum tmp;
+ gnutls_x509_crt dest;
++ size = 0;
+
+ if (gnutls_x509_crt_init(&dest) != 0) {
+ g_warning("couldn't gnutls_x509_crt_init\n");
More information about the arch-commits
mailing list