aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-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");