Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libfm for openSUSE:Factory checked 
in at 2024-12-17 19:25:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libfm (Old)
 and      /work/SRC/openSUSE:Factory/.libfm.new.29675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libfm"

Tue Dec 17 19:25:11 2024 rev:60 rq:1231687 version:1.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libfm/libfm.changes      2024-03-01 
23:37:01.748548146 +0100
+++ /work/SRC/openSUSE:Factory/.libfm.new.29675/libfm.changes   2024-12-17 
19:25:41.995260689 +0100
@@ -1,0 +2,6 @@
+Tue Dec 17 09:11:31 UTC 2024 - Ana Guerrero <ana.guerr...@suse.com>
+
+- Add patch to support gcc14 -Werror=incompatible-pointer-types
+  fix-gcc14.patch
+
+-------------------------------------------------------------------

New:
----
  fix-gcc14.patch

BETA DEBUG BEGIN:
  New:- Add patch to support gcc14 -Werror=incompatible-pointer-types
  fix-gcc14.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libfm.spec ++++++
--- /var/tmp/diff_new_pack.qU8AgJ/_old  2024-12-17 19:25:42.839295815 +0100
+++ /var/tmp/diff_new_pack.qU8AgJ/_new  2024-12-17 19:25:42.843295983 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libfm
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Source:         https://github.com/lxde/libfm/archive/%{version}.tar.gz
 Source1:        %{name}-rpmlintrc
 Patch0:         libfm-default-config.patch
+# PATCH-FIX-UPSTREAM 
https://github.com/lxde/libfm/commit/fbcd183335729fa3e8dd6a837c13a23ff3271000
+Patch1:         fix-gcc14.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 # Optional: HTML developers documentation

++++++ fix-gcc14.patch ++++++
commit fbcd183335729fa3e8dd6a837c13a23ff3271000
Author: Mamoru TASAKA <mtas...@fedoraproject.org>
Date:   Fri Mar 1 14:19:46 2024 +0900

    FIX: support gcc14 -Werror=incompatible-pointer-types
    
    gcc14 now defaults to -Werror=incompatible-pointer-types .
    To support this, cast GTK related objects for assignment
    properly.
    
    Fixes #100 .

diff --git a/src/gtk/exo/exo-icon-view.c b/src/gtk/exo/exo-icon-view.c
index 3ce98099..79e1c7ab 100644
--- a/src/gtk/exo/exo-icon-view.c
+++ b/src/gtk/exo/exo-icon-view.c
@@ -2819,7 +2819,7 @@ exo_icon_view_key_press_event (GtkWidget   *widget,
   /* allocate a new event to forward */
   new_event = gdk_event_copy ((GdkEvent *) event);
   g_object_unref (G_OBJECT (new_event->key.window));
-  new_event->key.window = g_object_ref (G_OBJECT (gtk_widget_get_window 
(icon_view->priv->search_entry)));
+  new_event->key.window = GDK_WINDOW(g_object_ref (G_OBJECT 
(gtk_widget_get_window (icon_view->priv->search_entry))));
 
   /* send the event to the search entry. If the "preedit-changed" signal is
    * emitted during this event, priv->search_imcontext_changed will be set.
diff --git a/src/gtk/fm-dnd-dest.c b/src/gtk/fm-dnd-dest.c
index 95d310d3..ce752758 100644
--- a/src/gtk/fm-dnd-dest.c
+++ b/src/gtk/fm-dnd-dest.c
@@ -458,7 +458,7 @@ static GdkDragAction _ask_action_on_drop(GtkWidget *widget,
             gtk_action_set_sensitive(act, FALSE);
         }
     }
-    ri.menu = g_object_ref(gtk_ui_manager_get_widget(ui, "/popup"));
+    ri.menu = GTK_MENU(g_object_ref(gtk_ui_manager_get_widget(ui, "/popup")));
     g_signal_connect(ri.menu, "selection-done", 
G_CALLBACK(gtk_widget_destroy), NULL);
     unmap_handler = g_signal_connect(ri.menu, "unmap",
                                      G_CALLBACK(run_unmap_handler), &ri);
diff --git a/src/gtk/fm-standard-view.c b/src/gtk/fm-standard-view.c
index e0ff5a06..df920254 100644
--- a/src/gtk/fm-standard-view.c
+++ b/src/gtk/fm-standard-view.c
@@ -637,7 +637,7 @@ static inline void create_icon_view(FmStandardView* fv, 
GList* sels)
                                 "text", FM_FOLDER_MODEL_COL_NAME );
     if(fv->renderer_text)
         g_object_unref(fv->renderer_text);
-    fv->renderer_text = g_object_ref_sink(render);
+    fv->renderer_text = FM_CELL_RENDERER_TEXT(g_object_ref_sink(render));
     exo_icon_view_set_search_column((ExoIconView*)fv->view, 
FM_FOLDER_MODEL_COL_NAME);
     g_signal_connect(fv->view, "item-activated", 
G_CALLBACK(on_icon_view_item_activated), fv);
     g_signal_connect(fv->view, "selection-changed", 
G_CALLBACK(on_sel_changed), fv);

Reply via email to