ports/www/webhook/files/patch-go.mod
Robert Clausecker 0aa89e9844 www/webhook: fix build on riscv64
Update golang.org/x/sys dependency to a version new enough to
have the bits for riscv64-freebsd in there.

While we are at it, remove ineffective GH_TUPLE entries (port
has these vendored upstream).

Sponsored by:	Berliner Linux User Group e.V.
Approved by:	portmgr (build fix blanket)
2023-03-11 09:36:13 +01:00

29 lines
861 B
Modula-2

--- go.mod.orig 2023-03-08 18:02:22 UTC
+++ go.mod
@@ -1,19 +1,22 @@
module github.com/adnanh/webhook
-go 1.14
+go 1.17
require (
github.com/clbanning/mxj v1.8.4
github.com/dustin/go-humanize v1.0.0
- github.com/fsnotify/fsnotify v1.4.7 // indirect
github.com/ghodss/yaml v1.0.0
github.com/go-chi/chi v4.0.2+incompatible
github.com/gofrs/uuid v3.2.0+incompatible
github.com/gorilla/mux v1.7.3
+ golang.org/x/sys v0.5.0
+ gopkg.in/fsnotify.v1 v1.4.2
+)
+
+require (
+ github.com/fsnotify/fsnotify v1.4.7 // indirect
github.com/kr/pretty v0.1.0 // indirect
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 // indirect
- golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
- gopkg.in/fsnotify.v1 v1.4.2
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7 // indirect
)