0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-12 03:28:07 +00:00
packages/lang/vala/patches/010-gcc14.patch
Rosen Penev e44aae02d0 vala: fix compilation with GCC14
Needs a cast now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-05-14 10:56:51 -07:00

21 lines
716 B
Diff

--- a/vala/valacodecontext.c
+++ b/vala/valacodecontext.c
@@ -2666,7 +2666,7 @@ vala_code_context_get_file_path (ValaCodeContext* self,
if (data_dir != NULL) {
gchar** _tmp3_;
gchar** _tmp4_;
- _tmp4_ = _tmp3_ = g_get_system_data_dirs ();
+ _tmp4_ = _tmp3_ = (gchar**)g_get_system_data_dirs ();
{
gchar** dir_collection = NULL;
gint dir_collection_length1 = 0;
@@ -2697,7 +2697,7 @@ vala_code_context_get_file_path (ValaCodeContext* self,
if (versioned_data_dir != NULL) {
gchar** _tmp8_;
gchar** _tmp9_;
- _tmp9_ = _tmp8_ = g_get_system_data_dirs ();
+ _tmp9_ = _tmp8_ = (gchar**)g_get_system_data_dirs ();
{
gchar** dir_collection = NULL;
gint dir_collection_length1 = 0;