Flatpak: update GTK4 to latest git

GTK 4.2.0 has some problems that were fixed recently. Update to post release git.
This commit is contained in:
Rafał Dzięgiel
2021-04-08 20:56:50 +02:00
parent 7a7a04554f
commit a3f78432f8
2 changed files with 2 additions and 32 deletions

View File

@@ -1,26 +0,0 @@
From c6320cfd75c65bfb1736b7ca5afc9c0f5ffc09d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= <rafostar.github@gmail.com>
Date: Thu, 25 Feb 2021 09:45:38 +0100
Subject: [PATCH] Broadway: fix unsafe variable type
Only guint32 guarantees to be always 32bit on all platforms. Mixing 32bit and 64bit memory sizes leads to a crash.
---
gdk/broadway/gdkbroadway-server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdk/broadway/gdkbroadway-server.c b/gdk/broadway/gdkbroadway-server.c
index 02b6f93183..e6b96ff0b9 100644
--- a/gdk/broadway/gdkbroadway-server.c
+++ b/gdk/broadway/gdkbroadway-server.c
@@ -235,7 +235,7 @@ static void
parse_all_input (GdkBroadwayServer *server)
{
guint8 *p, *end;
- size_t size;
+ guint32 size;
BroadwayReply *reply;
p = server->recv_buffer;
--
2.26.2

View File

@@ -18,16 +18,12 @@
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/gtk.git",
"tag": "4.1.1",
"commit": "1f284fcd706de5b0b8c54fee3ff61880caf1d167"
"branch": "master",
"commit": "1c2238cc2abbca0486a5fdac5523efc268affb96"
},
{
"type": "patch",
"path": "gtk4-popover-unrealize.patch"
},
{
"type": "patch",
"path": "gtk4-broadway-fix-unsafe-variable-type.patch"
}
]
}