Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
9805288c
Unverified
Commit
9805288c
authored
Jun 07, 2019
by
Péter Szilágyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vendor: pull in USB fix for docker (alpine/musl)
parent
19fa9064
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
+14
-4
Dockerfile.alpine
vendor/github.com/karalabe/usb/Dockerfile.alpine
+6
-0
Dockerfile.ubuntu
vendor/github.com/karalabe/usb/Dockerfile.ubuntu
+4
-0
libs.go
vendor/github.com/karalabe/usb/libs.go
+1
-1
vendor.json
vendor/vendor.json
+3
-3
No files found.
vendor/github.com/karalabe/usb/Dockerfile.alpine
0 → 100644
View file @
9805288c
FROM golang:alpine
RUN apk add --no-cache git gcc musl-dev linux-headers
ADD . $GOPATH/src/github.com/karalabe/usb
RUN cd $GOPATH/src/github.com/karalabe/usb && go install
vendor/github.com/karalabe/usb/Dockerfile.ubuntu
0 → 100644
View file @
9805288c
FROM golang:latest
ADD . $GOPATH/src/github.com/karalabe/usb
RUN cd $GOPATH/src/github.com/karalabe/usb && go install
vendor/github.com/karalabe/usb/libs.go
View file @
9805288c
...
...
@@ -23,7 +23,7 @@ package usb
#cgo CFLAGS: -DDEFAULT_VISIBILITY=""
#cgo CFLAGS: -DPOLL_NFDS_TYPE=int
#cgo linux CFLAGS: -DOS_LINUX -D_GNU_SOURCE
#cgo linux CFLAGS: -DOS_LINUX -D_GNU_SOURCE
-DHAVE_SYS_TIME_H
#cgo linux,!android LDFLAGS: -lrt
#cgo darwin CFLAGS: -DOS_DARWIN -DHAVE_SYS_TIME_H
#cgo darwin LDFLAGS: -framework CoreFoundation -framework IOKit -lobjc
...
...
vendor/vendor.json
View file @
9805288c
...
...
@@ -267,10 +267,10 @@
"revisionTime"
:
"2017-04-30T22:20:11Z"
},
{
"checksumSHA1"
:
"
0ixnoiChdbeva2xNe3z/vYzqcL4
="
,
"checksumSHA1"
:
"
wqKuSmlxa4hVZwfs4ZjtKtM5Yp0
="
,
"path"
:
"github.com/karalabe/usb"
,
"revision"
:
"
0efdeddd92369dc00d4fb1b9cd56a442bdb61f82
"
,
"revisionTime"
:
"2019-06-0
6T09:23:27
Z"
,
"revision"
:
"
3eff4807c21acef1c5f1b712a225ab09a8961504
"
,
"revisionTime"
:
"2019-06-0
7T09:24:32
Z"
,
"tree"
:
true
},
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment