nmav pushed to gnutls (master). "added patch to prevent test failure due to SIGPIPE"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 12:47:23 UTC 2015


>From 7cdc3ae64bfbc8e33d11a50a91a4a0fc44b4f03b Mon Sep 17 00:00:00 2001
From: Nikos Mavrogiannopoulos <nmav at redhat.com>
Date: Mon, 30 Mar 2015 13:35:55 +0200
Subject: added patch to prevent test failure due to SIGPIPE


diff --git a/gnutls-3.3.14-sigpipe.patch b/gnutls-3.3.14-sigpipe.patch
new file mode 100644
index 0000000..871b473
--- /dev/null
+++ b/gnutls-3.3.14-sigpipe.patch
@@ -0,0 +1,12 @@
+diff --git a/tests/mini-loss-time.c b/tests/mini-loss-time.c
+index 6a10606..e76ff05 100644
+--- a/tests/mini-loss-time.c
++++ b/tests/mini-loss-time.c
+@@ -287,6 +287,7 @@ void doit(void)
+ 	time_t tstart, tstop;
+ 
+ 	signal(SIGCHLD, ch_handler);
++	signal(SIGPIPE, SIG_IGN);
+ 
+ 	tstart = time(0);
+ 	start(2, -1);
diff --git a/gnutls.spec b/gnutls.spec
index db492ec..829575a 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.14-sigpipe.patch
 
 # Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
 Provides: bundled(gnulib) = 20130424
@@ -137,6 +138,7 @@ This package contains Guile bindings for the library.
 %patch1 -p1 -b .rpath
 %patch3 -p1 -b .nosrp
 %patch4 -p1 -b .default-policy
+%patch5 -p1 -b .sigpipe
 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=master&id=7cdc3ae64bfbc8e33d11a50a91a4a0fc44b4f03b


More information about the scm-commits mailing list