svn commit: r535333 - in head/devel/git-bug: . files
Tobias C. Berner
tcberner at FreeBSD.org
Fri May 15 20:06:35 UTC 2020
Author: tcberner
Date: Fri May 15 20:06:34 2020
New Revision: 535333
URL: https://svnweb.freebsd.org/changeset/ports/535333
Log:
devel/git-bug: Fix termui issue
Amended:
* Import upstream fix for termui [1] as mentioned here [2].
We can now _actually_ use 'git bug termui' without it
indefinitely hanging.
[1]: https://github.com/nsf/termbox-go/commit/58d4fcbce2a7e6a3a48afbc6b7ec2a916ac33ee0
[2]: https://github.com/MichaelMure/git-bug/issues/387
PR: 246486
Submitted by: Lewis Cook <vulcan at wired.sh> (maintainer)
Added:
head/devel/git-bug/files/
head/devel/git-bug/files/patch-vendor_github.com_awesome-gocui_termbox-go_api.go (contents, props changed)
Modified:
head/devel/git-bug/Makefile
Modified: head/devel/git-bug/Makefile
==============================================================================
--- head/devel/git-bug/Makefile Fri May 15 19:58:18 2020 (r535332)
+++ head/devel/git-bug/Makefile Fri May 15 20:06:34 2020 (r535333)
@@ -2,6 +2,7 @@
PORTNAME= git-bug
DISTVERSION= 0.7.1
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= vulcan at wired.sh
Added: head/devel/git-bug/files/patch-vendor_github.com_awesome-gocui_termbox-go_api.go
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/git-bug/files/patch-vendor_github.com_awesome-gocui_termbox-go_api.go Fri May 15 20:06:34 2020 (r535333)
@@ -0,0 +1,14 @@
+Import https://github.com/nsf/termbox-go/commit/58d4fcbce2a7e6a3a48afbc6b7ec2a916ac33ee0
+from upstream, this fixes an issue where it would hang in termui on FreeBSD.
+
+--- vendor/github.com/awesome-gocui/termbox-go/api.go.orig 2020-05-15 14:00:27 UTC
++++ vendor/github.com/awesome-gocui/termbox-go/api.go
+@@ -24,7 +24,7 @@ import "time"
+ func Init() error {
+ var err error
+
+- if runtime.GOOS == "openbsd" {
++ if runtime.GOOS == "openbsd" || runtime.GOOS == "freebsd" {
+ out, err = os.OpenFile("/dev/tty", os.O_RDWR, 0)
+ if err != nil {
+ return err
More information about the svn-ports-all
mailing list