[packages/gnutls/DEVEL] - updated to 3.3.1 - added guile patch (fixes guile module build again)

qboosh qboosh at pld-linux.org
Wed Apr 23 19:06:49 CEST 2014


commit 9d5c3037ace6c3baca1fd3943f978f10510d2aac
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 23 19:09:02 2014 +0200

    - updated to 3.3.1
    - added guile patch (fixes guile module build again)

 gnutls-guile.patch | 10 ++++++++++
 gnutls.spec        |  6 ++++--
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/gnutls.spec b/gnutls.spec
index 46d5d46..abe2d93 100644
--- a/gnutls.spec
+++ b/gnutls.spec
@@ -7,14 +7,15 @@
 Summary:	The GNU Transport Layer Security Library
 Summary(pl.UTF-8):	Biblioteka GNU TLS (Transport Layer Security)
 Name:		gnutls
-Version:	3.3.0
+Version:	3.3.1
 Release:	1
 License:	LGPL v2.1+ (libgnutls), LGPL v3+ (libdane), GPL v3+ (openssl library and tools)
 Group:		Libraries
 Source0:	ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/%{name}-%{version}.tar.lz
-# Source0-md5:	9bc98adb532ccf93ac4a3998ec86185c
+# Source0-md5:	2c62b8d007aedc448304aad0ab7ae896
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-link.patch
+Patch2:		%{name}-guile.patch
 URL:		http://www.gnutls.org/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	autogen
@@ -206,6 +207,7 @@ Wiązania Guile do GnuTLS.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %{__rm} po/stamp-po
 
diff --git a/gnutls-guile.patch b/gnutls-guile.patch
new file mode 100644
index 0000000..137cd08
--- /dev/null
+++ b/gnutls-guile.patch
@@ -0,0 +1,10 @@
+--- gnutls-3.3.1/guile/src/core.c.orig	2013-10-10 13:10:49.000000000 +0200
++++ gnutls-3.3.1/guile/src/core.c	2014-04-23 18:45:41.268343009 +0200
+@@ -3366,7 +3366,6 @@
+   /* Use Guile's allocation routines, which will run the GC if need be.  */
+   gnutls_malloc = scm_malloc;
+   gnutls_realloc = scm_realloc;
+-  gnutls_secure_malloc = scm_malloc;
+   gnutls_free = free;
+ 
+   (void) gnutls_global_init ();
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnutls.git/commitdiff/9d5c3037ace6c3baca1fd3943f978f10510d2aac



More information about the pld-cvs-commit mailing list