From: Dmitry Smirnov <onlyjob@debian.org>
Date: Tue, 26 Jan 2021 01:20:46 +0800
Subject: unvendor xxhash

Last-Update: 2019-09-09
Forwarded: not-needed
---
 zstd/blockdec.go     | 2 +-
 zstd/decoder.go      | 2 +-
 zstd/decoder_test.go | 2 +-
 zstd/enc_base.go     | 2 +-
 zstd/encoder.go      | 2 +-
 zstd/encoder_test.go | 2 +-
 zstd/framedec.go     | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/zstd/blockdec.go b/zstd/blockdec.go
index 0dd742f..517a50b 100644
--- a/zstd/blockdec.go
+++ b/zstd/blockdec.go
@@ -12,7 +12,7 @@ import (
 	"sync"
 
 	"github.com/klauspost/compress/huff0"
-	"github.com/klauspost/compress/zstd/internal/xxhash"
+	"github.com/cespare/xxhash"
 )
 
 type blockType uint8
diff --git a/zstd/decoder.go b/zstd/decoder.go
index ea2a193..0d8b1a6 100644
--- a/zstd/decoder.go
+++ b/zstd/decoder.go
@@ -10,7 +10,7 @@ import (
 	"io"
 	"sync"
 
-	"github.com/klauspost/compress/zstd/internal/xxhash"
+	"github.com/cespare/xxhash"
 )
 
 // Decoder provides decoding of zstandard streams.
diff --git a/zstd/decoder_test.go b/zstd/decoder_test.go
index 002857a..2dd419c 100644
--- a/zstd/decoder_test.go
+++ b/zstd/decoder_test.go
@@ -27,7 +27,7 @@ import (
 	// "github.com/DataDog/zstd"
 	// zstd "github.com/valyala/gozstd"
 
-	"github.com/klauspost/compress/zstd/internal/xxhash"
+	"github.com/cespare/xxhash"
 )
 
 func TestNewReaderMismatch(t *testing.T) {
diff --git a/zstd/enc_base.go b/zstd/enc_base.go
index 7d250c6..613b62b 100644
--- a/zstd/enc_base.go
+++ b/zstd/enc_base.go
@@ -4,7 +4,7 @@ import (
 	"fmt"
 	"math/bits"
 
-	"github.com/klauspost/compress/zstd/internal/xxhash"
+	"github.com/cespare/xxhash"
 )
 
 const (
diff --git a/zstd/encoder.go b/zstd/encoder.go
index 8f8223c..f7046ba 100644
--- a/zstd/encoder.go
+++ b/zstd/encoder.go
@@ -13,7 +13,7 @@ import (
 	rdebug "runtime/debug"
 	"sync"
 
-	"github.com/klauspost/compress/zstd/internal/xxhash"
+	"github.com/cespare/xxhash"
 )
 
 // Encoder provides encoding to Zstandard.
diff --git a/zstd/encoder_test.go b/zstd/encoder_test.go
index 9b107d9..7703771 100644
--- a/zstd/encoder_test.go
+++ b/zstd/encoder_test.go
@@ -18,7 +18,7 @@ import (
 	"time"
 
 	"github.com/klauspost/compress/zip"
-	"github.com/klauspost/compress/zstd/internal/xxhash"
+	"github.com/cespare/xxhash"
 )
 
 var testWindowSizes = []int{MinWindowSize, 1 << 16, 1 << 22, 1 << 24}
diff --git a/zstd/framedec.go b/zstd/framedec.go
index e47af66..01668b4 100644
--- a/zstd/framedec.go
+++ b/zstd/framedec.go
@@ -10,7 +10,7 @@ import (
 	"errors"
 	"io"
 
-	"github.com/klauspost/compress/zstd/internal/xxhash"
+	"github.com/cespare/xxhash"
 )
 
 type frameDec struct {
