parent
88f0359c5c
commit
7c9b4112c6
|
@ -5,14 +5,14 @@ assert guileBindings -> guile != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "gnutls-2.4.1";
|
name = "gnutls-2.4.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/gnutls/${name}.tar.bz2";
|
url = "mirror://gnu/gnutls/${name}.tar.bz2";
|
||||||
sha256 = "1zg5ggf8raydr939glq5mwssly84c6czy1hi5gf00wwdhak0256r";
|
sha256 = "03mvpx35psvw51rv60jffpddziz6vbpapwn8lcgc7iwiqqbfjw0w";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./tmpdir.patch ./fix-openssl-test.patch ];
|
patches = [ ./tmpdir.patch ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
./configure --prefix="$out" --enable-guile --with-guile-site-dir="$out/share/guile/site"
|
./configure --prefix="$out" --enable-guile --with-guile-site-dir="$out/share/guile/site"
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
This patch fixes the `openssl' test.
|
|
||||||
See http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3050 .
|
|
||||||
|
|
||||||
--- a/tests/openssl.c
|
|
||||||
+++ b/tests/openssl.c
|
|
||||||
@@ -36,5 +36,8 @@ doit (void)
|
|
||||||
MD5_CTX c;
|
|
||||||
unsigned char md[MD5_DIGEST_LENGTH];
|
|
||||||
|
|
||||||
+ if (gnutls_global_init() != 0)
|
|
||||||
+ fail ("gnutls_global_init\n");
|
|
||||||
+
|
|
||||||
if (!gnutls_check_version (LIBGNUTLS_VERSION))
|
|
||||||
success ("gnutls_check_version ERROR\n");
|
|
Loading…
Reference in New Issue