mirror of https://github.com/openwrt/packages.git
vala: fix compilation with GCC14
Needs a cast now. Signed-off-by: Rosen Penev <rosenp@gmail.com>pull/23946/head
parent
f805121318
commit
e44aae02d0
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=vala
|
||||
PKG_VERSION:=0.56.14
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=@GNOME/vala/$(basename $(PKG_VERSION))
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
--- 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;
|
Loading…
Reference in New Issue