aboutsummaryrefslogtreecommitdiffstats
path: root/main/claws-mail
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-18 10:59:45 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-18 11:00:20 +0200
commit91c7ace2ec4e02599ae0eab5ad5f2ebba6deba62 (patch)
tree24aed876ffd79e22eb494202c57fcbe532e293fb /main/claws-mail
parentff1b2c1b2d73928469abfd5e6c801e0cbf0f69ba (diff)
downloadaports-91c7ace2ec4e02599ae0eab5ad5f2ebba6deba62.tar.bz2
aports-91c7ace2ec4e02599ae0eab5ad5f2ebba6deba62.tar.xz
main/claws-mail: fix segfault for gnutls-3.1.3
Diffstat (limited to 'main/claws-mail')
-rw-r--r--main/claws-mail/APKBUILD6
-rw-r--r--main/claws-mail/gnutls313.patch12
2 files changed, 16 insertions, 2 deletions
diff --git a/main/claws-mail/APKBUILD b/main/claws-mail/APKBUILD
index 8a607cdc71..81a50dd6c3 100644
--- a/main/claws-mail/APKBUILD
+++ b/main/claws-mail/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=claws-mail
pkgver=3.8.1
-pkgrel=2
+pkgrel=3
pkgdesc="A GTK+ based e-mail client."
url="http://www.claws-mail.org"
arch="all"
@@ -19,6 +19,7 @@ depends=
install=
source="http://downloads.sourceforge.net/sourceforge/sylpheed-claws/$pkgname-$pkgver.tar.bz2
libc-version.patch
+ gnutls313.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -89,4 +90,5 @@ smime() {
}
md5sums="d388929fb1c8f04d4bcb2139faaf9e70 claws-mail-3.8.1.tar.bz2
-f3416743b5d8ff97b5a3cc2f7efc2dc1 libc-version.patch"
+f3416743b5d8ff97b5a3cc2f7efc2dc1 libc-version.patch
+21bdc9d324f9424e0071bb73be169977 gnutls313.patch"
diff --git a/main/claws-mail/gnutls313.patch b/main/claws-mail/gnutls313.patch
new file mode 100644
index 0000000000..27040f7bdb
--- /dev/null
+++ b/main/claws-mail/gnutls313.patch
@@ -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");