Hello community, here is the log from the commit of package gtk-sharp2 for openSUSE:Factory checked in at 2018-02-15 13:18:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gtk-sharp2 (Old) and /work/SRC/openSUSE:Factory/.gtk-sharp2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gtk-sharp2" Thu Feb 15 13:18:46 2018 rev:49 rq:574881 version:2.12.41 Changes: -------- --- /work/SRC/openSUSE:Factory/gtk-sharp2/gtk-sharp2.changes 2016-10-02 00:06:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gtk-sharp2.new/gtk-sharp2.changes 2018-02-15 13:18:48.786552515 +0100 @@ -1,0 +2,9 @@ +Wed Feb 07 00:00:00 UTC 2018 - fwdsbs.to.11df@xoxy.net + +- Update version to 2.12.41 from project's github page: https://github.com/mono/gtk-sharp/releases +- Remove patch: gtk-sharp2-glib-2_31.patch +- Remove patch: gtk-sharp2-gmcs-as-compiler.patch +- Add fix-64bit-portability-issue.patch: + * fix "64bit-portability-issue" error at windowmanager.c:113 + +------------------------------------------------------------------- @@ -535 +543,0 @@ - Old: ---- gtk-sharp-2.12.10.tar.bz2 gtk-sharp2-glib-2_31.patch gtk-sharp2-gmcs-as-compiler.patch New: ---- fix-64bit-portability-issue.patch gtk-sharp-2.12.41.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtk-sharp2.spec ++++++ --- /var/tmp/diff_new_pack.Akhpt0/_old 2018-02-15 13:18:50.634485537 +0100 +++ /var/tmp/diff_new_pack.Akhpt0/_new 2018-02-15 13:18:50.634485537 +0100 @@ -1,7 +1,7 @@ # # spec file for package gtk-sharp2 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,11 +19,10 @@ %define _name gtk-sharp Name: gtk-sharp2 -Url: http://www.mono-project.com/GtkSharp +Url: https://github.com/mono/gtk-sharp Summary: .Net Language Bindings for GTK+ License: GPL-2.0 Group: System/GUI/GNOME -# bug437293 %ifarch ppc64 Obsoletes: gtk-sharp2-64bit %endif @@ -39,12 +38,11 @@ BuildRequires: pkg-config BuildRequires: update-desktop-files BuildRequires: vte-devel -Version: 2.12.10 +Version: 2.12.41 Release: 0 -Source: %{_name}-%{version}.tar.bz2 -Patch0: gtk-sharp2-glib-2_31.patch -# PATCH-FIX-UPSTREAM gtk-sharp2-gmcs-as-compiler.patch dimstar@opensuse.org -- Use gmcs as prefered mono compiler. -Patch1: gtk-sharp2-gmcs-as-compiler.patch +Source: %{_name}-%{version}.tar.gz +# PATCH-FIX-OPENSUSE fix "64bit-portability-issue" error at windowmanager.c:113 +Patch1: fix-64bit-portability-issue.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -106,11 +104,10 @@ %prep %setup -q -n %{_name}-%{version} -%patch0 -p1 %patch1 -p1 %build -autoreconf -fiv +NOCONFIGURE=yes ./bootstrap-2.12 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" # That should come frmo mono-core now #export MONO_CAIRO_LIBS=$(pkg-config --libs mono-cairo | sed 's:2.0:4.5:') ++++++ fix-64bit-portability-issue.patch ++++++ diff -uprN gtk-sharp-2.12.41.old/gdk/glue/windowmanager.c gtk-sharp-2.12.41/gdk/glue/windowmanager.c --- gtk-sharp-2.12.41.old/gdk/glue/windowmanager.c 2016-10-04 20:08:41.000000000 +0300 +++ gtk-sharp-2.12.41/gdk/glue/windowmanager.c 2018-02-07 16:08:50.206366227 +0300 @@ -110,7 +110,7 @@ gtksharp_get_gdk_net_client_list (int *c list = g_malloc (*count * sizeof (gpointer)); /* Put all of the windows into a GList to return */ for (i = 0; i < *count; i ++) { - list [i] = data [i]; + list [i] = (gpointer)(data [i]); g_message ("WinID: %d", list [i]); }