File: 0001-Remove-flate.HuffmanOnly.patch

package info (click to toggle)
golang-github-klauspost-pgzip 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 392 kB
  • ctags: 150
  • sloc: makefile: 6
file content (24 lines) | stat: -rw-r--r-- 638 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Shengjing Zhu <i@zhsj.me>
Date: Mon, 31 Jul 2017 19:51:16 +0800
Subject: Remove flate.HuffmanOnly

Forwarded: not-needed

This requires golang-github-klauspost-compress-dev 1.1
---
 gzip.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gzip.go b/gzip.go
index 9b97a0f..9953044 100644
--- a/gzip.go
+++ b/gzip.go
@@ -31,7 +31,7 @@ const (
 	BestCompression     = flate.BestCompression
 	DefaultCompression  = flate.DefaultCompression
 	ConstantCompression = flate.ConstantCompression
-	HuffmanOnly         = flate.HuffmanOnly
+	// HuffmanOnly         = flate.HuffmanOnly
 )
 
 // A Writer is an io.WriteCloser.