patch for included gnulib bits to allow building with new mingw-w64
[debian/gzip] / debian / patches / sigpipe.diff
index c16091a611fe531bc7fbe82259ea9cada1b7a32f..2bc2303a7c20643b496bcf166d6cf001c3914b50 100644 (file)
@@ -1,18 +1,6 @@
-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
-@@ -556,7 +556,11 @@ int main (int argc, char **argv)
+--- gzip-1.6.orig/gzip.c
++++ gzip-1.6/gzip.c
+@@ -562,7 +562,11 @@ int main (int argc, char **argv)
      ALLOC(ush, tab_prefix1, 1L<<(BITS-1));
  #endif