From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 31A7A1581C1 for ; Sun, 7 Jul 2024 08:56:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 368662BC106; Sun, 7 Jul 2024 08:56:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 171252BC106 for ; Sun, 7 Jul 2024 08:56:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2EC84335CAF for ; Sun, 7 Jul 2024 08:56:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FE7E1C6B for ; Sun, 7 Jul 2024 08:56:36 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1720342590.42f46ee5b25ca13a3fb9f9780fc07414df2ce624.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/brasero/files/, app-cdr/brasero/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-cdr/brasero/brasero-3.12.3-r1.ebuild app-cdr/brasero/brasero-3.12.3.ebuild app-cdr/brasero/files/brasero-3.12.3-incompatible-pointers.patch X-VCS-Directories: app-cdr/brasero/files/ app-cdr/brasero/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 42f46ee5b25ca13a3fb9f9780fc07414df2ce624 X-VCS-Branch: master Date: Sun, 7 Jul 2024 08:56:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e55d4dd7-6983-4896-a356-9531d00d7742 X-Archives-Hash: ed5a22c81f3351e7ed1c534ef5eff6cb commit: 42f46ee5b25ca13a3fb9f9780fc07414df2ce624 Author: Miroslav Šulc gentoo org> AuthorDate: Sun Jul 7 08:56:16 2024 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Sun Jul 7 08:56:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f46ee5 app-cdr/brasero: fixed incompatible pointers with a better patch Bug: https://bugs.gentoo.org/process_bug.cgi Signed-off-by: Miroslav Šulc gentoo.org> ...sero-3.12.3.ebuild => brasero-3.12.3-r1.ebuild} | 0 .../brasero-3.12.3-incompatible-pointers.patch | 56 +++++++++++++++++++--- 2 files changed, 49 insertions(+), 7 deletions(-) diff --git a/app-cdr/brasero/brasero-3.12.3.ebuild b/app-cdr/brasero/brasero-3.12.3-r1.ebuild similarity index 100% rename from app-cdr/brasero/brasero-3.12.3.ebuild rename to app-cdr/brasero/brasero-3.12.3-r1.ebuild diff --git a/app-cdr/brasero/files/brasero-3.12.3-incompatible-pointers.patch b/app-cdr/brasero/files/brasero-3.12.3-incompatible-pointers.patch index edfdb8786cd9..e8c6dd58a480 100644 --- a/app-cdr/brasero/files/brasero-3.12.3-incompatible-pointers.patch +++ b/app-cdr/brasero/files/brasero-3.12.3-incompatible-pointers.patch @@ -1,14 +1,42 @@ +From 5cdefa8c76ddb797bce8b67a3f5767678bd36a5a Mon Sep 17 00:00:00 2001 +From: sid +Date: Mon, 3 Jun 2024 18:51:08 +0100 +Subject: [PATCH] Fix gcc 14.x build failure (due to + -Wincompatible-pointer-types) + +The changes for 'brasero-drive-properties.c' are kept inline with +'brasero-burn-options.c' (public API) for the sake of consistency. + +Fixes: https://gitlab.gnome.org/GNOME/brasero/-/issues/370 --- a/libbrasero-burn/brasero-drive-properties.c +++ b/libbrasero-burn/brasero-drive-properties.c -@@ -844,7 +844,7 @@ brasero_drive_properties_set_property (GObject *object, - /* NOTE: no need to unref a potential previous session since - * it's only set at construct time */ - session = g_value_get_object (value); +@@ -835,23 +835,19 @@ brasero_drive_properties_set_property (GObject *object, + GParamSpec *pspec) + { + BraseroDrivePropertiesPrivate *priv; +- BraseroBurnSession *session; + + priv = BRASERO_DRIVE_PROPERTIES_PRIVATE (object); + + switch (property_id) { + case PROP_SESSION: /* Readable and only writable at creation time */ +- /* NOTE: no need to unref a potential previous session since +- * it's only set at construct time */ +- session = g_value_get_object (value); - priv->session = g_object_ref (session); -+ priv->session = (BraseroSessionCfg *)g_object_ref (session); ++ priv->session = g_object_ref (g_value_get_object (value)); brasero_drive_properties_update (BRASERO_DRIVE_PROPERTIES (object)); - priv->valid_sig = g_signal_connect (session, +- priv->valid_sig = g_signal_connect (session, ++ priv->valid_sig = g_signal_connect (priv->session, + "is-valid", + G_CALLBACK (brasero_drive_properties_is_valid_cb), + object); +- priv->output_sig = g_signal_connect (session, ++ priv->output_sig = g_signal_connect (priv->session, + "output-changed", + G_CALLBACK (brasero_drive_properties_output_changed_cb), + object); --- a/libbrasero-utils/brasero-metadata.c +++ b/libbrasero-utils/brasero-metadata.c @@ -665,7 +665,7 @@ brasero_metadata_install_missing_plugins (BraseroMetadata *self) @@ -16,7 +44,21 @@ context = gst_install_plugins_context_new (); gst_install_plugins_context_set_xid (context, brasero_metadata_get_xid (self)); - status = gst_install_plugins_async ((gchar **) details->pdata, -+ status = gst_install_plugins_async ((const gchar * const *) details->pdata, ++ status = gst_install_plugins_async ((const gchar* const*) details->pdata, context, brasero_metadata_install_plugins_result, downloads); +--- a/libbrasero-utils/brasero-pk.c ++++ b/libbrasero-utils/brasero-pk.c +@@ -230,7 +230,7 @@ brasero_pk_install_gstreamer_plugin (BraseroPK *package, + + context = gst_install_plugins_context_new (); + gst_install_plugins_context_set_xid (context, xid); +- status = gst_install_plugins_async ((gchar **) gst_plugins->pdata, ++ status = gst_install_plugins_async ((const gchar* const*) gst_plugins->pdata, + context, + brasero_pk_install_gst_plugin_result, + package); +-- +GitLab +