pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/coyim chat/coyim: Fixes the broken build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3611095a8719
branches:  trunk
changeset: 449900:3611095a8719
user:      fox <fox%pkgsrc.org@localhost>
date:      Wed Apr 07 13:11:14 2021 +0000

description:
chat/coyim: Fixes the broken build.

Remove the missing accel_flags for now from gotk3 vendor library.

diffstat:

 chat/coyim/distinfo                                                 |   3 +-
 chat/coyim/patches/patch-vendor_github.com_gotk3_gotk3_gtk_accel.go |  24 ++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r e09f0149af88 -r 3611095a8719 chat/coyim/distinfo
--- a/chat/coyim/distinfo       Wed Apr 07 13:10:17 2021 +0000
+++ b/chat/coyim/distinfo       Wed Apr 07 13:11:14 2021 +0000
@@ -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
diff -r e09f0149af88 -r 3611095a8719 chat/coyim/patches/patch-vendor_github.com_gotk3_gotk3_gtk_accel.go
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/coyim/patches/patch-vendor_github.com_gotk3_gotk3_gtk_accel.go       Wed Apr 07 13:11:14 2021 +0000
@@ -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
+ }



Home | Main Index | Thread Index | Old Index