From: Bdale Garbee Date: Tue, 19 Jun 2012 23:48:43 +0000 (-0600) Subject: see if avoiding SIGPIPE fixes w32 target build X-Git-Tag: debian/1.5-1~3 X-Git-Url: https://git.gag.com/?p=debian%2Fgzip;a=commitdiff_plain;h=09b80ea5d7cfca62deae660a6820a09bf38f74a0 see if avoiding SIGPIPE fixes w32 target build --- diff --git a/debian/patches/series b/debian/patches/series index 4afffaf..b151332 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ rsyncable.diff gzip-man-pack.diff zdiff-man.diff rfc-urls.diff +sigpipe.diff diff --git a/debian/patches/sigpipe.diff b/debian/patches/sigpipe.diff new file mode 100644 index 0000000..ff09d86 --- /dev/null +++ b/debian/patches/sigpipe.diff @@ -0,0 +1,14 @@ +diff --git a/gzip.c b/gzip.c +index 38e1373..0d9f499 100644 +--- a/gzip.c ++++ b/gzip.c +@@ -223,7 +223,9 @@ static int handled_sig[] = + #ifdef SIGHUP + , SIGHUP + #endif ++#ifdef SIGPIPE + , SIGPIPE ++#endif + #ifdef SIGTERM + , SIGTERM + #endif diff --git a/gzip.c b/gzip.c index 38e1373..0d9f499 100644 --- a/gzip.c +++ b/gzip.c @@ -223,7 +223,9 @@ static int handled_sig[] = #ifdef SIGHUP , SIGHUP #endif +#ifdef SIGPIPE , SIGPIPE +#endif #ifdef SIGTERM , SIGTERM #endif