nmav pushed to gnutls (f22). "disable unreliable test"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue May 5 13:46:15 UTC 2015


>From c253b3c13eeb59bbdd6b03839acf4bce8ec8644d Mon Sep 17 00:00:00 2001
From: Nikos Mavrogiannopoulos <nmav at redhat.com>
Date: Tue, 5 May 2015 15:46:03 +0200
Subject: disable unreliable test


diff --git a/gnutls-3.3.15-disable-mini-loss-time.patch b/gnutls-3.3.15-disable-mini-loss-time.patch
new file mode 100644
index 0000000..81086ac
--- /dev/null
+++ b/gnutls-3.3.15-disable-mini-loss-time.patch
@@ -0,0 +1,13 @@
+diff --git a/tests/mini-loss-time.c b/tests/mini-loss-time.c
+index e76ff05..043e20d 100644
+--- a/tests/mini-loss-time.c
++++ b/tests/mini-loss-time.c
+@@ -28,7 +28,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ 
+-#if defined(_WIN32)
++#if 1
+ 
+ int main()
+ {
diff --git a/gnutls.spec b/gnutls.spec
index f861e55..65b4eb4 100644
--- a/gnutls.spec
+++ b/gnutls.spec
@@ -35,6 +35,7 @@ Source2: hobble-gnutls
 Patch1: gnutls-3.2.7-rpath.patch
 Patch3: gnutls-3.1.11-nosrp.patch
 Patch4: gnutls-3.3.6-default-policy.patch
+Patch5: gnutls-3.3.15-disable-mini-loss-time.patch
 
 # Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
 Provides: bundled(gnulib) = 20130424
@@ -137,6 +138,8 @@ This package contains Guile bindings for the library.
 %patch1 -p1 -b .rpath
 %patch3 -p1 -b .nosrp
 %patch4 -p1 -b .default-policy
+%patch5 -p1 -b .disable-test
+
 sed 's/gnutls_srp.c//g' -i lib/Makefile.in
 sed 's/gnutls_srp.lo//g' -i lib/Makefile.in
 rm -f lib/minitasn1/*.c lib/minitasn1/*.h
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/gnutls.git/commit/?h=f22&id=c253b3c13eeb59bbdd6b03839acf4bce8ec8644d


More information about the scm-commits mailing list