mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
vala: fix compilation with GCC14
Needs a cast now. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=vala
|
PKG_NAME:=vala
|
||||||
PKG_VERSION:=0.56.14
|
PKG_VERSION:=0.56.14
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=@GNOME/vala/$(basename $(PKG_VERSION))
|
PKG_SOURCE_URL:=@GNOME/vala/$(basename $(PKG_VERSION))
|
||||||
|
|||||||
20
lang/vala/patches/010-gcc14.patch
Normal file
20
lang/vala/patches/010-gcc14.patch
Normal file
@@ -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;
|
||||||
Reference in New Issue
Block a user