--- a/gntmain.c Mon Oct 18 02:00:51 2021 -0500
+++ b/gntmain.c Sun Oct 24 02:09:33 2021 -0500
@@ -104,6 +104,11 @@
+endwin_cb(G_GNUC_UNUSED gpointer data) { escape_timeout(G_GNUC_UNUSED gpointer data)
@@ -469,6 +474,12 @@
+refresh_screen_cb(G_GNUC_UNUSED gpointer data) + return refresh_screen(); @@ -567,7 +578,7 @@
- g_idle_add((GSourceFunc)refresh_screen, NULL);
+ g_idle_add(refresh_screen_cb, NULL); if (org_winch_handler_sa)
@@ -901,7 +912,7 @@
if (!g_spawn_async_with_pipes(wd, argv, envp,
G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD,
- (GSpawnChildSetupFunc)endwin, NULL,
&pid, stin, stout, sterr, NULL))
--- a/meson.build Mon Oct 18 02:00:51 2021 -0500
+++ b/meson.build Sun Oct 24 02:09:33 2021 -0500
@@ -28,7 +28,8 @@
license : 'GPL-2.0-or-later',
- meson_version : '>=0.50.0')
+ meson_version : '>=0.56.0', + default_options : ['c_std=c99', 'warning_level=2']) parts = meson.project_version().split('-')
@@ -311,9 +312,7 @@
dependencies : [ncurses, glib],
sources : libgnt_generated_targets)
-if meson.version().version_compare('>=0.54.0')
- meson.override_dependency('gnt3', libgnt_dep)
+meson.override_dependency('gnt3', libgnt_dep)