aboutsummaryrefslogtreecommitdiff
path: root/repos/xorg/pcmanfm/gcc14-support.patch
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-02-22 16:46:54 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-02-22 16:46:54 +0800
commit5b6cf1d4a79d80ea9c6f9e4ab9653875423fe4cb (patch)
treef1fe27b5a2945c9d83d4e60fbca8c32e3f4881d7 /repos/xorg/pcmanfm/gcc14-support.patch
parent66196c82a820c3d13c833f4c626afad1dacbfc75 (diff)
downloadalicelinux-5b6cf1d4a79d80ea9c6f9e4ab9653875423fe4cb.tar.gz
alicelinux-5b6cf1d4a79d80ea9c6f9e4ab9653875423fe4cb.zip
dropped xorg
Diffstat (limited to 'repos/xorg/pcmanfm/gcc14-support.patch')
-rw-r--r--repos/xorg/pcmanfm/gcc14-support.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/repos/xorg/pcmanfm/gcc14-support.patch b/repos/xorg/pcmanfm/gcc14-support.patch
deleted file mode 100644
index 7a31e211..00000000
--- a/repos/xorg/pcmanfm/gcc14-support.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 9bf5145eba45cd5e3b87d4f040618fe0ea69a81d Mon Sep 17 00:00:00 2001
-From: Mamoru TASAKA <mtasaka@fedoraproject.org>
-Date: Fri, 26 Jul 2024 12:13:32 +0900
-Subject: [PATCH] Fix build with gcc14 -Werror=incompatible-pointer-types
-
-gcc14 now defaults to gcc -Werror=incompatible-pointer-types .
-This commit adds required casts to different pointer types.
----
- src/desktop.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/desktop.c b/src/desktop.c
-index 0686a595..b358f503 100644
---- a/src/desktop.c
-+++ b/src/desktop.c
-@@ -1267,7 +1267,7 @@ static AtkObject *fm_desktop_accessible_ref_selection(AtkSelection *selection,
- item = items->data;
- if (item->item->is_selected)
- if (i-- == 0)
-- return g_object_ref(item);
-+ return (AtkObject *)g_object_ref(item);
- }
- return NULL;
- }
-@@ -1454,7 +1454,7 @@ static AtkObject *fm_desktop_accessible_ref_child(AtkObject *accessible,
- item = g_list_nth_data(priv->items, index);
- if (!item)
- return NULL;
-- return g_object_ref(item);
-+ return (AtkObject *)g_object_ref(item);
- }
-
- static void fm_desktop_accessible_initialize(AtkObject *accessible, gpointer data)