diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-10-18 10:59:45 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-10-18 11:00:20 +0200 |
commit | 91c7ace2ec4e02599ae0eab5ad5f2ebba6deba62 (patch) | |
tree | 24aed876ffd79e22eb494202c57fcbe532e293fb /main | |
parent | ff1b2c1b2d73928469abfd5e6c801e0cbf0f69ba (diff) | |
download | aports-91c7ace2ec4e02599ae0eab5ad5f2ebba6deba62.tar.bz2 aports-91c7ace2ec4e02599ae0eab5ad5f2ebba6deba62.tar.xz |
main/claws-mail: fix segfault for gnutls-3.1.3
Diffstat (limited to 'main')
-rw-r--r-- | main/claws-mail/APKBUILD | 6 | ||||
-rw-r--r-- | main/claws-mail/gnutls313.patch | 12 |
2 files changed, 16 insertions, 2 deletions
diff --git a/main/claws-mail/APKBUILD b/main/claws-mail/APKBUILD index 8a607cdc7..81a50dd6c 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 000000000..27040f7bd --- /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"); |