diff options
-rw-r--r-- | emacs/29.1/03_all_zlib-inflate.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/emacs/29.1/03_all_zlib-inflate.patch b/emacs/29.1/03_all_zlib-inflate.patch new file mode 100644 index 0000000..b31847a --- /dev/null +++ b/emacs/29.1/03_all_zlib-inflate.patch @@ -0,0 +1,22 @@ +Support decompressing pigz-compressed files +Patch from master branch +https://bugs.gentoo.org/911539 +https://debbugs.gnu.org/64893 + +commit 46b6d175054e8f6bf7cb45e112048c0cf02bfee9 +Author: Amritpal Singh <sysgrammer@protonmail.com> +Date: Fri Jun 2 10:51:21 2023 +0530 + + Support files compressed by 'pigz' + +--- a/src/decompress.c ++++ b/src/decompress.c +@@ -151,7 +151,7 @@ + return -1; + + accumulate_and_process_md5 (out, MD5_BLOCKSIZE - stream.avail_out, &ctx); +- } while (!stream.avail_out); ++ } while (stream.avail_in && !stream.avail_out); + + } while (res != Z_STREAM_END); + |