Date: Sat, 10 Apr 2021 02:28:37 GMT From: Santhosh Raju <fox@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: 88d99b629ed2 - 2021Q2 - net-im/coyim: Fixes the broken build. Message-ID: <202104100228.13A2SbGJ023448@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2021Q2 has been updated by fox: URL: https://cgit.FreeBSD.org/ports/commit/?id=88d99b629ed2a5ad7daea333c4b63fa8b143dd30 commit 88d99b629ed2a5ad7daea333c4b63fa8b143dd30 Author: Santhosh Raju <fox@FreeBSD.org> AuthorDate: 2021-04-07 13:04:29 +0000 Commit: Santhosh Raju <fox@FreeBSD.org> CommitDate: 2021-04-10 02:09:01 +0000 net-im/coyim: Fixes the broken build. Remove the missing accel_flags for now from gotk3 vendor library. (cherry picked from commit 46d7ecb8c535d3b5344425335eef58ce8634d545) --- net-im/coyim/Makefile | 2 +- ...atch-vendor_github.com_gotk3_gotk3_gtk_accel.go | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/net-im/coyim/Makefile b/net-im/coyim/Makefile index 8c4bd38b817f..b10da5400eef 100644 --- a/net-im/coyim/Makefile +++ b/net-im/coyim/Makefile @@ -2,7 +2,7 @@ PORTNAME= coyim DISTVERSIONPREFIX= v DISTVERSION= 0.3.11 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-im MAINTAINER= fox@FreeBSD.org diff --git a/net-im/coyim/files/patch-vendor_github.com_gotk3_gotk3_gtk_accel.go b/net-im/coyim/files/patch-vendor_github.com_gotk3_gotk3_gtk_accel.go new file mode 100644 index 000000000000..60ca114c7f5f --- /dev/null +++ b/net-im/coyim/files/patch-vendor_github.com_gotk3_gotk3_gtk_accel.go @@ -0,0 +1,22 @@ +Remove the missing accel_flags field to prevent build failure. + +XXX: Investigate this further. + +--- vendor/github.com/gotk3/gotk3/gtk/accel.go.orig 2021-04-07 12:07:51 UTC ++++ vendor/github.com/gotk3/gotk3/gtk/accel.go +@@ -244,7 +244,6 @@ func (v *AccelKey) native() *C.struct__GtkAccelKey { + var val C.struct__GtkAccelKey + val.accel_key = C.guint(v.key) + val.accel_mods = C.GdkModifierType(v.mods) +- val.accel_flags = v.flags + return &val + } + +@@ -253,7 +252,6 @@ func wrapAccelKey(obj *C.struct__GtkAccelKey) *AccelKe + + v.key = uint(obj.accel_key) + v.mods = gdk.ModifierType(obj.accel_mods) +- v.flags = uint16(obj.accel_flags) + + return &v + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104100228.13A2SbGJ023448>