Hello community, here is the log from the commit of package pidgin for openSUSE:Factory checked in at 2019-10-25 18:38:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pidgin (Old) and /work/SRC/openSUSE:Factory/.pidgin.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pidgin" Fri Oct 25 18:38:58 2019 rev:130 rq:741838 version:2.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/pidgin/pidgin.changes 2018-06-04 13:21:28.214948892 +0200 +++ /work/SRC/openSUSE:Factory/.pidgin.new.2990/pidgin.changes 2019-10-25 18:39:03.611723121 +0200 @@ -1,0 +2,7 @@ +Tue Oct 22 06:15:35 UTC 2019 - Felix Zhang <[email protected]> + +- Add pidgin-Leaky-deprecation-clean-ups.patch: Fix warnings of + deprecation of GParameter that result in build failures of + plugins that build with -Werror (pidgin.im#17415). + +------------------------------------------------------------------- New: ---- pidgin-Leaky-deprecation-clean-ups.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pidgin.spec ++++++ --- /var/tmp/diff_new_pack.vucHWy/_old 2019-10-25 18:39:05.927725301 +0200 +++ /var/tmp/diff_new_pack.vucHWy/_new 2019-10-25 18:39:05.931725304 +0200 @@ -40,6 +40,8 @@ Patch4: pidgin-use-default-alsa.patch # PATCH-FIX-UPSTREAM pidgin-enable-sni-gnutls.patch bsc#1086439 pidgin.im#17300 [email protected] -- Enable SNI extension in GnuTLS connections. Patch5: pidgin-enable-sni-gnutls.patch +# PATCH-FIX-UPSTREAM pidgin-Leaky-deprecation-clean-ups.patch pidgin.im#17415 [email protected] -- Fix warnings of deprecation of GParameter +Patch6: pidgin-Leaky-deprecation-clean-ups.patch BuildRequires: ca-certificates-mozilla BuildRequires: doxygen BuildRequires: fdupes @@ -235,6 +237,7 @@ %patch4 -p1 %endif %patch5 -p1 +%patch6 -p1 cp -f %{SOURCE3} %{name}-prefs.xml ++++++ pidgin-Leaky-deprecation-clean-ups.patch ++++++ # HG changeset patch # User Gary Kramlich <[email protected]> # Date 1570433439 18000 # Mon Oct 07 02:30:39 2019 -0500 # Branch release-2.x.y # Node ID e3c4fde8a94a25bb571dc7932bdd6cca086f8ae8 # Parent a8e08676e356c7d003852fddd3d9c3826dcfa1d6 G_CONST_RETURN has been deprecated for awhile and honestly it's not necessary for us diff -r a8e08676e356 -r e3c4fde8a94a libpurple/util.c --- a/libpurple/util.c Fri Aug 02 23:56:19 2019 +0000 +++ b/libpurple/util.c Mon Oct 07 02:30:39 2019 -0500 @@ -4695,7 +4695,7 @@ * This function is copied from g_strerror() but changed to use * gai_strerror(). */ -G_CONST_RETURN gchar * +const gchar * purple_gai_strerror(gint errnum) { #if GLIB_CHECK_VERSION(2, 32, 0) diff -r a8e08676e356 -r e3c4fde8a94a libpurple/util.h --- a/libpurple/util.h Fri Aug 02 23:56:19 2019 +0000 +++ b/libpurple/util.h Mon Oct 07 02:30:39 2019 -0500 @@ -1394,7 +1394,7 @@ * @return The UTF-8 error message. * @since 2.4.0 */ -G_CONST_RETURN gchar *purple_gai_strerror(gint errnum); +const gchar *purple_gai_strerror(gint errnum); /** * Compares two UTF-8 strings case-insensitively. This comparison is # HG changeset patch # User Gary Kramlich <[email protected]> # Date 1570433500 18000 # Mon Oct 07 02:31:40 2019 -0500 # Branch release-2.x.y # Node ID 9d4485060df8bde34d576346f8e22663bc670fb9 # Parent e3c4fde8a94a25bb571dc7932bdd6cca086f8ae8 Disable deprecation warnings for the functions that have GParameter in their arguments diff -r e3c4fde8a94a -r 9d4485060df8 libpurple/media.h --- a/libpurple/media.h Mon Oct 07 02:30:39 2019 -0500 +++ b/libpurple/media.h Mon Oct 07 02:31:40 2019 -0500 @@ -161,8 +161,10 @@ * * @since 2.8.0 */ +G_GNUC_BEGIN_IGNORE_DEPRECATIONS void purple_media_set_params(PurpleMedia *media, guint num_params, GParameter *params); +G_GNUC_END_IGNORE_DEPRECATIONS /** * Gets the list of optional parameters supported by the media backend. @@ -208,10 +210,12 @@ * * @since 2.6.0 */ +G_GNUC_BEGIN_IGNORE_DEPRECATIONS gboolean purple_media_add_stream(PurpleMedia *media, const gchar *sess_id, const gchar *who, PurpleMediaSessionType type, gboolean initiator, const gchar *transmitter, guint num_params, GParameter *params); +G_GNUC_END_IGNORE_DEPRECATIONS /** * Gets the session type from a session
