Hello community, here is the log from the commit of package ocaml-lablgtk2 for openSUSE:Factory checked in at 2020-06-17 14:56:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk2 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-lablgtk2" Wed Jun 17 14:56:02 2020 rev:19 rq:815369 version:2.18.10 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-lablgtk2/ocaml-lablgtk2.changes 2020-05-23 17:20:16.890478697 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk2.new.3606/ocaml-lablgtk2.changes 2020-06-17 14:56:33.986260881 +0200 @@ -1,0 +2,5 @@ +Wed Jun 17 06:06:06 UTC 2020 - o...@aepfle.de + +- Fix gcc10 build with ocaml-lablgtk2.ml_table_extension_events.patch + +------------------------------------------------------------------- New: ---- ocaml-lablgtk2.ml_table_extension_events.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-lablgtk2.spec ++++++ --- /var/tmp/diff_new_pack.32y162/_old 2020-06-17 14:56:36.962271071 +0200 +++ /var/tmp/diff_new_pack.32y162/_new 2020-06-17 14:56:36.966271085 +0200 @@ -24,6 +24,7 @@ %global __ocaml_requires_opts -i GtkSourceView2_types Name: ocaml-lablgtk2 Source0: %{name}-%{version}.tar.xz +Patch0: ocaml-lablgtk2.ml_table_extension_events.patch BuildRequires: gtk2-devel BuildRequires: gtksourceview2-devel BuildRequires: gtkspell-devel ++++++ ocaml-lablgtk2.ml_table_extension_events.patch ++++++ https://github.com/garrigue/lablgtk/pull/105 --- a/src/ml_gdk.c +++ b/src/ml_gdk.c @@ -47,6 +47,7 @@ #include "ml_gdkpixbuf.h" #include "gdk_tags.h" +lookup_info *ml_table_extension_events; #ifndef HASGTK22 #define GDK_WINDOW_TYPE_HINT_SPLASHSCREEN GDK_WINDOW_TYPE_HINT_NORMAL --- a/src/ml_gdk.h +++ b/src/ml_gdk.h @@ -102,7 +102,7 @@ CAMLexport value Val_GdkEvent (GdkEvent CAMLexport int OptFlags_GdkModifier_val (value); CAMLexport int Flags_GdkModifier_val (value); CAMLexport int Flags_Event_mask_val (value); -CAMLexport lookup_info *ml_table_extension_events; +CAMLextern lookup_info *ml_table_extension_events; #define Extension_events_val(key) ml_lookup_to_c(ml_table_extension_events,key) #define GdkDragContext_val(val) check_cast(GDK_DRAG_CONTEXT,val)