Skip to content

Commit

Permalink
Switched to my czlib fork
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaskin committed Feb 14, 2020
1 parent 8b1f001 commit 4393a0d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ steps:
- name: test
image: golang:1.13-buster
commands:
- apt update
- apt install -y zlib1g-dev
- go test -v ./...

---
Expand All @@ -22,8 +20,6 @@ steps:
- name: build
image: golang:1.13-buster
commands:
- apt update
- apt install -y zlib1g-dev
- mkdir build
- CGO_ENABLED=1 go build -o build/kobopatch ./kobopatch
- name: get-patches
Expand Down Expand Up @@ -54,7 +50,7 @@ steps:
commands:
- dpkg --add-architecture i386
- apt update
- apt install -y libz-mingw-w64-dev zlib1g-dev:i386 zlib1g-dev libc6-dev-armhf-cross libc6-dev-i386 gcc-multilib
- apt install -y libc6-dev-armhf-cross libc6-dev-i386 gcc-multilib
- mkdir build
- GOLDFLAGS="-s -w -linkmode external -X main.version=$(git describe --tags --always)"
- GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -ldflags "$${GOLDFLAGS}" -o "build/kobopatch-linux-64bit" ./kobopatch
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module github.com/geek1011/kobopatch
go 1.13

require (
github.com/DataDog/czlib v0.0.0-20160811164712-4bc9a24e37f2
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/geek1011/czlib v0.0.2
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/pflag v1.0.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/DataDog/czlib v0.0.0-20160811164712-4bc9a24e37f2 h1:/Xf0UwdF1dlv6cNu0q1TWTQgfSsALgXrdHNtBMj7ybU=
github.com/DataDog/czlib v0.0.0-20160811164712-4bc9a24e37f2/go.mod h1:xK7es18l1aQtR1g0i6RhEQ78ckvRAWiwlG0vBFud/Jk=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/geek1011/czlib v0.0.2 h1:qTlYExguv/o+ZdROqbWTxJGbFWh/o9d3/KDN1P0Jcec=
github.com/geek1011/czlib v0.0.2/go.mod h1:iw913x/pjDqhfoak/AU3XWgycIcGL9H6kjgPP2YqzQM=
github.com/geek1011/yaml v0.0.0-20190717135119-db0123c0912e h1:pvQRziv7p7KIPtCstDzbEbP+QDqXCLejUPi3ocALKkg=
github.com/geek1011/yaml v0.0.0-20190717135119-db0123c0912e/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6 h1:UDMh68UUwekSh5iP2OMhRRZJiiBccgV7axzUG8vi56c=
Expand Down
2 changes: 1 addition & 1 deletion patchlib/patcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"unicode/utf8"

"github.com/DataDog/czlib"
"github.com/geek1011/czlib"
"github.com/ianlancetaylor/demangle"
)

Expand Down

0 comments on commit 4393a0d

Please sign in to comment.