[arch-commits] Commit in net6/trunk (PKGBUILD gnutls.patch)

Sergej Pupykin spupykin at archlinux.org
Thu Apr 16 13:58:18 UTC 2015


    Date: Thursday, April 16, 2015 @ 15:58:18
  Author: spupykin
Revision: 131479

upgpkg: net6 1.3.14-4

upd

Modified:
  net6/trunk/PKGBUILD
  net6/trunk/gnutls.patch

--------------+
 PKGBUILD     |    4 ++--
 gnutls.patch |    5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-16 13:54:46 UTC (rev 131478)
+++ PKGBUILD	2015-04-16 13:58:18 UTC (rev 131479)
@@ -6,7 +6,7 @@
 
 pkgname=net6
 pkgver=1.3.14
-pkgrel=3
+pkgrel=4
 pkgdesc="A library that provides a TCP protocol abstraction for C++"
 arch=('i686' 'x86_64')
 url="http://gobby.0x539.de/"
@@ -15,7 +15,7 @@
 source=(http://releases.0x539.de/$pkgname/$pkgname-$pkgver.tar.gz
 	gnutls.patch)
 md5sums=('be6db739f71c5c08421bf6181e77f3b2'
-         '1078edb16b53a844b47ecb482a33c604')
+         '4fb70f33b352522b46a25988668535d0')
 
 prepare() {
   cd ${srcdir}/$pkgname-$pkgver

Modified: gnutls.patch
===================================================================
--- gnutls.patch	2015-04-16 13:54:46 UTC (rev 131478)
+++ gnutls.patch	2015-04-16 13:58:18 UTC (rev 131479)
@@ -1,16 +1,15 @@
 diff -wbBur net6-1.3.14.org/src/encrypt.cpp net6-1.3.14/src/encrypt.cpp
 --- net6-1.3.14.org/src/encrypt.cpp	2011-09-28 15:15:10.000000000 +0400
 +++ net6-1.3.14/src/encrypt.cpp	2015-04-16 15:57:01.623936848 +0300
-@@ -175,10 +175,10 @@
+@@ -175,10 +175,9 @@
                                    gnutls_session_t sess):
  	tcp_client_socket(cobj), session(sess), state(DEFAULT)
  {
 -	const int kx_prio[] = { GNUTLS_KX_ANON_DH, 0 };
-+	const char kx_prio[] = { GNUTLS_KX_ANON_DH, 0 };
  
  	gnutls_set_default_priority(session);
 -	gnutls_kx_set_priority(session, kx_prio);
-+	gnutls_priority_set_direct(session, kx_prio, NULL);
++	gnutls_set_default_priority(session);
  
  	gnutls_transport_set_ptr(
  		session,



More information about the arch-commits mailing list