Hello community, here is the log from the commit of package ocaml-lablgtk3 for openSUSE:Factory checked in at 2020-06-17 14:55:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk3 (Old) and /work/SRC/openSUSE:Factory/.ocaml-lablgtk3.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-lablgtk3" Wed Jun 17 14:55:46 2020 rev:2 rq:815367 version:3.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-lablgtk3/ocaml-lablgtk3.changes 2020-02-07 15:57:34.247609629 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk3.new.3606/ocaml-lablgtk3.changes 2020-06-17 14:56:28.862243337 +0200 @@ -1,0 +2,5 @@ +Wed Jun 17 06:06:06 UTC 2020 - [email protected] + +- Fix gcc10 build with ocaml-lablgtk3.ml_table_extension_events.patch + +------------------------------------------------------------------- New: ---- ocaml-lablgtk3.ml_table_extension_events.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-lablgtk3.spec ++++++ --- /var/tmp/diff_new_pack.wKERgX/_old 2020-06-17 14:56:30.886250267 +0200 +++ /var/tmp/diff_new_pack.wKERgX/_new 2020-06-17 14:56:30.886250267 +0200 @@ -24,6 +24,7 @@ Group: Development/Languages/OCaml Url: https://github.com/garrigue/lablgtk Source: %{name}-%{version}.tar.xz +Patch0: ocaml-lablgtk3.ml_table_extension_events.patch BuildRequires: ocaml(ocaml_base_version) >= 4.05 BuildRequires: ocaml-dune BuildRequires: ocaml-rpm-macros >= 20191101 ++++++ ocaml-lablgtk3.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; CAMLprim void ml_raise_gdk (const char *errmsg) { --- a/src/ml_gdk.h +++ b/src/ml_gdk.h @@ -86,7 +86,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)
