From c49368b0b7b5fa903e75a1de892bba7708196124 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Sun, 11 Apr 2021 08:55:51 +0000 Subject: [PATCH] devel/bit: Update to 1.0.6 - Add patch to fix FreeBSD support with a dependency Reported by: portscout --- devel/bit/Makefile | 6 +++--- devel/bit/distinfo | 14 +++++++------- ...dor_github.com_pkg_term_termios_pty__freebsd.go | 10 ++++++++++ 3 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 devel/bit/files/patch-vendor_github.com_pkg_term_termios_pty__freebsd.go diff --git a/devel/bit/Makefile b/devel/bit/Makefile index 28267d08de83..efbd5c49df3b 100644 --- a/devel/bit/Makefile +++ b/devel/bit/Makefile @@ -1,6 +1,6 @@ PORTNAME= bit DISTVERSIONPREFIX= v -DISTVERSION= 1.0.5 +DISTVERSION= 1.0.6 CATEGORIES= devel MAINTAINER= ashish@FreeBSD.org @@ -16,7 +16,7 @@ GH_TUPLE= \ AlecAivazis:survey:v2.2.9:alecaivazis_survey_v2/vendor/github.com/AlecAivazis/survey/v2 \ apex:log:v1.9.0:apex_log/vendor/github.com/apex/log \ bradfitz:iter:e8f45d346db8:bradfitz_iter/vendor/github.com/bradfitz/iter \ - c-bata:go-prompt:v0.2.6:c_bata_go_prompt/vendor/github.com/c-bata/go-prompt \ + c-bata:go-prompt:v0.2.5:c_bata_go_prompt/vendor/github.com/c-bata/go-prompt \ c4milo:unpackit:4ed373e9ef1c:c4milo_unpackit/vendor/github.com/c4milo/unpackit \ chriswalz:complete:v3.0.13:chriswalz_complete_v3/vendor/github.com/chriswalz/complete/v3 \ davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ @@ -46,7 +46,7 @@ GH_TUPLE= \ mattn:go-tty:v0.0.3:mattn_go_tty/vendor/github.com/mattn/go-tty \ mgutz:ansi:9520e82c474b:mgutz_ansi/vendor/github.com/mgutz/ansi \ pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ - pkg:term:v1.2.0-beta.2:pkg_term/vendor/github.com/pkg/term \ + pkg:term:v1.1.0:pkg_term/vendor/github.com/pkg/term \ pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \ posener:script:v1.1.5:posener_script/vendor/github.com/posener/script \ rs:zerolog:v1.20.0:rs_zerolog/vendor/github.com/rs/zerolog \ diff --git a/devel/bit/distinfo b/devel/bit/distinfo index 168ffe394246..1b3e3819b051 100644 --- a/devel/bit/distinfo +++ b/devel/bit/distinfo @@ -1,14 +1,14 @@ -TIMESTAMP = 1616237396 -SHA256 (chriswalz-bit-v1.0.5_GH0.tar.gz) = e51648df68ef2d4e7628bb266ab43f9c75d851d28788b5111255aa338b94ce1f -SIZE (chriswalz-bit-v1.0.5_GH0.tar.gz) = 156411 +TIMESTAMP = 1618127940 +SHA256 (chriswalz-bit-v1.0.6_GH0.tar.gz) = f8713cb122f2e301cdd3f9af7a13cb90f84fd2db778652c77d9faafe83ca9e28 +SIZE (chriswalz-bit-v1.0.6_GH0.tar.gz) = 156496 SHA256 (AlecAivazis-survey-v2.2.9_GH0.tar.gz) = 8011eadec37037a25a934f5a7a1bd9f49db05834ef5f9b1f14d00b555d05c220 SIZE (AlecAivazis-survey-v2.2.9_GH0.tar.gz) = 1567447 SHA256 (apex-log-v1.9.0_GH0.tar.gz) = 6171253fb8b022d5151a5b4b9847bcd6f2cdc2fd7180a741090626d73d311890 SIZE (apex-log-v1.9.0_GH0.tar.gz) = 31978 SHA256 (bradfitz-iter-e8f45d346db8_GH0.tar.gz) = e6674cc6daefb2d2a745d7aeccee0d242d183458c38824361793540e0e359185 SIZE (bradfitz-iter-e8f45d346db8_GH0.tar.gz) = 2012 -SHA256 (c-bata-go-prompt-v0.2.6_GH0.tar.gz) = 6b249608d52ab66d33d85dcc5ec0a4f5f74f63ec6f22f8cfb12c96cb3a9b05cf -SIZE (c-bata-go-prompt-v0.2.6_GH0.tar.gz) = 43452 +SHA256 (c-bata-go-prompt-v0.2.5_GH0.tar.gz) = 6e408e73ee484e3ed56b1dfd9dda7dae622b3d80d9eb62c668060f0572de1f1e +SIZE (c-bata-go-prompt-v0.2.5_GH0.tar.gz) = 44208 SHA256 (c4milo-unpackit-4ed373e9ef1c_GH0.tar.gz) = e71de01ca3d954245b24ea5dcdc60705ce55d3991a400c656ca3d4b30b06de98 SIZE (c4milo-unpackit-4ed373e9ef1c_GH0.tar.gz) = 4211999 SHA256 (chriswalz-complete-v3.0.13_GH0.tar.gz) = 0abd8539193a65d50646f7523843c8dfdfcbade270ac4392b6965be58efa7b44 @@ -67,8 +67,8 @@ SHA256 (mgutz-ansi-9520e82c474b_GH0.tar.gz) = f9203c71aceb8b7ffa87181fd8f51dc69a SIZE (mgutz-ansi-9520e82c474b_GH0.tar.gz) = 4876 SHA256 (pkg-errors-v0.9.1_GH0.tar.gz) = 56bfd893023daa498508bfe161de1be83299fcf15376035e7df79cbd7d6fa608 SIZE (pkg-errors-v0.9.1_GH0.tar.gz) = 13415 -SHA256 (pkg-term-v1.2.0-beta.2_GH0.tar.gz) = 7ec33e2b31f188923104d3edbecc4362f6d321354a178e4e4e49d1bfc5075e45 -SIZE (pkg-term-v1.2.0-beta.2_GH0.tar.gz) = 11330 +SHA256 (pkg-term-v1.1.0_GH0.tar.gz) = dc7e94b88b5d494264d28923a58a73732ed066897a916ab36568fac2b32a91d5 +SIZE (pkg-term-v1.1.0_GH0.tar.gz) = 10923 SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398 SHA256 (posener-script-v1.1.5_GH0.tar.gz) = 37aa5cc92a60219b60bafdf3bc7ebe0cbab692c977134f40c00ca18d9a45223f diff --git a/devel/bit/files/patch-vendor_github.com_pkg_term_termios_pty__freebsd.go b/devel/bit/files/patch-vendor_github.com_pkg_term_termios_pty__freebsd.go new file mode 100644 index 000000000000..eb1e1ba11934 --- /dev/null +++ b/devel/bit/files/patch-vendor_github.com_pkg_term_termios_pty__freebsd.go @@ -0,0 +1,10 @@ +--- vendor/github.com/pkg/term/termios/pty_freebsd.go.orig 2021-04-11 08:22:30 UTC ++++ vendor/github.com/pkg/term/termios/pty_freebsd.go +@@ -3,6 +3,7 @@ package termios + import ( + "fmt" + "unsafe" ++ "golang.org/x/sys/unix" + ) + + func posix_openpt(oflag int) (fd uintptr, err error) {