chat/coyim: Fixes the broken build.
Remove the missing accel_flags for now from gotk3 vendor library.
This commit is contained in:
parent
2ac3dc64c8
commit
23d21ad640
2 changed files with 26 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
$NetBSD: distinfo,v 1.1 2019/04/24 23:43:22 fox Exp $
|
||||
$NetBSD: distinfo,v 1.2 2021/04/07 13:11:14 fox Exp $
|
||||
|
||||
SHA1 (coyim-0.3.11.tar.gz) = 3928e9954f516a7725982390fdb7ceef0659ec0a
|
||||
RMD160 (coyim-0.3.11.tar.gz) = 32b3e81e808951faacc63efaa19ba0d0d5318a93
|
||||
SHA512 (coyim-0.3.11.tar.gz) = a9d3b9900e78f736617969d4c2ebcb88abbb427dccc0396ed5a655f8ae0d22c3ddba44bdd4e0b4370af97972e883e9ee52b425cbfa226945c6aad7a2a473accb
|
||||
Size (coyim-0.3.11.tar.gz) = 3803018 bytes
|
||||
SHA1 (patch-vendor_github.com_gotk3_gotk3_gtk_accel.go) = 7be97c79ed53a517c1bb57010f2e4e9a59e623ad
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
$NetBSD: patch-vendor_github.com_gotk3_gotk3_gtk_accel.go,v 1.1 2021/04/07 13:11:14 fox Exp $
|
||||
|
||||
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:06:33.563048146 +0000
|
||||
+++ vendor/github.com/gotk3/gotk3/gtk/accel.go
|
||||
@@ -244,7 +244,6 @@ func (v *AccelKey) native() *C.struct__G
|
||||
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__GtkAcce
|
||||
|
||||
v.key = uint(obj.accel_key)
|
||||
v.mods = gdk.ModifierType(obj.accel_mods)
|
||||
- v.flags = uint16(obj.accel_flags)
|
||||
|
||||
return &v
|
||||
}
|
Loading…
Reference in a new issue