git: 88d99b629ed2 - 2021Q2 - net-im/coyim: Fixes the broken build.
Santhosh Raju
fox at FreeBSD.org
Sat Apr 10 02:28:37 UTC 2021
The branch 2021Q2 has been updated by fox:
URL: https://cgit.FreeBSD.org/ports/commit/?id=88d99b629ed2a5ad7daea333c4b63fa8b143dd30
commit 88d99b629ed2a5ad7daea333c4b63fa8b143dd30
Author: Santhosh Raju <fox at FreeBSD.org>
AuthorDate: 2021-04-07 13:04:29 +0000
Commit: Santhosh Raju <fox at 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 at 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
+ }
More information about the dev-commits-ports-all
mailing list