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

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 12:01:40 UTC 2015


>From 8d99ed26c07f7dcef406f386819a693bc1aae406 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 c52b40b..16d499f 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=f21&id=8d99ed26c07f7dcef406f386819a693bc1aae406


More information about the scm-commits mailing list