diff options
-rw-r--r-- | 17babc.patch | 11 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 18 insertions, 1 deletions
diff --git a/17babc.patch b/17babc.patch new file mode 100644 index 000000000000..26842eddcdd3 --- /dev/null +++ b/17babc.patch @@ -0,0 +1,11 @@ +--- a/src/socket.c ++++ b/src/socket.c +@@ -271,6 +271,8 @@ + + init_wakeup( &conn->ssl_fake, ssl_fake_cb, conn ); + conn->ssl = SSL_new( ((server_conf_t *)conn->conf)->SSLContext ); ++ if (ssl_return( "set server name", conn, SSL_set_tlsext_host_name( conn->ssl, conn->conf->host ) ) < 0) ++ return; + SSL_set_fd( conn->ssl, conn->fd ); + SSL_set_mode( conn->ssl, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER ); + socket_expect_read( conn, 1 ); @@ -2,7 +2,7 @@ pkgname=isync-utf8-mailboxes pkgver=1.3.0 -pkgrel=1 +pkgrel=2 pkgdesc="IMAP and MailDir mailbox synchronizer" arch=('x86_64') url="http://isync.sourceforge.net" @@ -12,6 +12,12 @@ depends=('libsasl' 'zlib') source=(git+https://git.code.sf.net/u/shashurup/isync#branch=utf8-mailboxes) sha512sums=(SKIP) +prepare() { + cd isync + + patch -Np1 -i "$srcdir"/../17babc.patch +} + build() { cd isync ./autogen.sh |