summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-03-15 20:00:05 +0000
committerwiz <wiz@pkgsrc.org>2020-03-15 20:00:05 +0000
commit794834f41f6860ee616e827cb27bf6223652cc4c (patch)
tree4f77e20f9a73b3deca414c53c7610273b4f28612
parent5220356ca67875bc61da120ec475dbf09df6353c (diff)
downloadpkgsrc-794834f41f6860ee616e827cb27bf6223652cc4c.tar.gz
vala: update to 0.48.1.
Vala 0.48.1 =========== * Various improvements and bug fixes: - codegen: + Replace hard-coded "gsize" with resolved "size_t" + Add destroy of parameter in vfunc of delegate property setter [#919] + Inherit "array" attributes from (base/-interface) property + Inherit "delegate_target" from (base/-interface) parameter/property/method + Actually respect "delegate_target" attribute of method/parameter + Move ObjectTypeSymbol casting to GTypeModule + Factor out GValueModule and GLibValue into a separate source-files + Avoid symbol clashes with "va_*" from "stdarg.h" - vala: + Fix search for Parameter.base_parameter + Real struct-type without type_id can't be used for GObject property [#921] - codewriter: Output inner interface declarations [#918] * Bindings: - glib-2.0: Add missing "type_id"/"has_type_id" attributes to structs [#921] - glib-2.0: Memory profiling ("g_mem_*") is deprecated since 2.46 - linux: Don't depend on GLib.Time when using POSIX profile - gtk4: Update to 3.98+2da445f9 - poppler-glib: Update to 0.85 - vapi: Update GIR-based bindings
-rw-r--r--lang/vala/Makefile4
-rw-r--r--lang/vala/distinfo11
-rw-r--r--lang/vala/patches/patch-codegen_valaccodearraymodule.c66
3 files changed, 7 insertions, 74 deletions
diff --git a/lang/vala/Makefile b/lang/vala/Makefile
index f5b2e6963d3..a053bcbcda5 100644
--- a/lang/vala/Makefile
+++ b/lang/vala/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.58 2020/03/11 09:44:11 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2020/03/15 20:00:05 wiz Exp $
-DISTNAME= vala-0.48.0
+DISTNAME= vala-0.48.1
CATEGORIES= lang gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/vala/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
diff --git a/lang/vala/distinfo b/lang/vala/distinfo
index 05252092f1d..83d7e16207b 100644
--- a/lang/vala/distinfo
+++ b/lang/vala/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.40 2020/03/11 09:44:11 wiz Exp $
+$NetBSD: distinfo,v 1.41 2020/03/15 20:00:05 wiz Exp $
-SHA1 (vala-0.48.0.tar.xz) = 1466a5fefa11129e2cf0263527629c83b1f9225d
-RMD160 (vala-0.48.0.tar.xz) = 09cb8e6349f995c929f2c6000190e5957b4b532b
-SHA512 (vala-0.48.0.tar.xz) = 77c85ee60bee92f2488fc1f7d21d1ab6886698ff5c303dff539c7aa3a178ed9ea402498e97b79b5a306ad4a25b19ae13e8ce78e389f8310315545422a11dd7d9
-Size (vala-0.48.0.tar.xz) = 3423156 bytes
-SHA1 (patch-codegen_valaccodearraymodule.c) = 45826b123678970167e355f5a63766b7ad5bc213
+SHA1 (vala-0.48.1.tar.xz) = 1592354af74d4945342bfac47a98eedbd1784550
+RMD160 (vala-0.48.1.tar.xz) = 8ca4800230d4e6f6921d06a3dbf9389f5945418e
+SHA512 (vala-0.48.1.tar.xz) = f399f81b77eb6acb7f7dcd8eb88c9f4597c7c47a4c6311a0d70db24080f0faa34d1077bf4e644ee2f3b3a8d4993c6561e17583a2010ca5f6850d53e2af532e51
+Size (vala-0.48.1.tar.xz) = 3426388 bytes
diff --git a/lang/vala/patches/patch-codegen_valaccodearraymodule.c b/lang/vala/patches/patch-codegen_valaccodearraymodule.c
deleted file mode 100644
index 96b32396a79..00000000000
--- a/lang/vala/patches/patch-codegen_valaccodearraymodule.c
+++ /dev/null
@@ -1,66 +0,0 @@
-$NetBSD: patch-codegen_valaccodearraymodule.c,v 1.1 2020/03/11 09:44:11 wiz Exp $
-
-Fix name clash with stdarg.h
-https://gitlab.gnome.org/GNOME/vala/issues/923
-
---- codegen/valaccodearraymodule.c.orig 2020-03-03 14:37:43.000000000 +0000
-+++ codegen/valaccodearraymodule.c
-@@ -4663,7 +4663,7 @@ vala_ccode_array_module_real_append_para
- ValaCCodeConstant* _tmp150_;
- ValaCCodeBinaryExpression* _tmp151_;
- ValaCCodeBinaryExpression* _tmp152_;
-- ValaCCodeFunctionCall* va_arg = NULL;
-+ ValaCCodeFunctionCall* vaa_arg = NULL;
- ValaCCodeIdentifier* _tmp153_;
- ValaCCodeIdentifier* _tmp154_;
- ValaCCodeFunctionCall* _tmp155_;
-@@ -4998,19 +4998,19 @@ vala_ccode_array_module_real_append_para
- _vala_ccode_node_unref0 (_tmp152_);
- _vala_ccode_node_unref0 (_tmp150_);
- _vala_ccode_node_unref0 (_tmp148_);
-- _tmp153_ = vala_ccode_identifier_new ("va_arg");
-+ _tmp153_ = vala_ccode_identifier_new ("vaa_arg");
- _tmp154_ = _tmp153_;
- _tmp155_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp154_);
- _tmp156_ = _tmp155_;
- _vala_ccode_node_unref0 (_tmp154_);
-- va_arg = _tmp156_;
-+ vaa_arg = _tmp156_;
- _tmp157_ = vala_get_ccode_name ((ValaCodeNode*) local);
- _tmp158_ = _tmp157_;
- _tmp159_ = g_strdup_printf ("_va_list_%s", _tmp158_);
- _tmp160_ = _tmp159_;
- _tmp161_ = vala_ccode_identifier_new (_tmp160_);
- _tmp162_ = _tmp161_;
-- vala_ccode_function_call_add_argument (va_arg, (ValaCCodeExpression*) _tmp162_);
-+ vala_ccode_function_call_add_argument (vaa_arg, (ValaCCodeExpression*) _tmp162_);
- _vala_ccode_node_unref0 (_tmp162_);
- _g_free0 (_tmp160_);
- _g_free0 (_tmp158_);
-@@ -5021,7 +5021,7 @@ vala_ccode_array_module_real_append_para
- _tmp167_ = _tmp166_;
- _tmp168_ = vala_ccode_identifier_new (_tmp167_);
- _tmp169_ = _tmp168_;
-- vala_ccode_function_call_add_argument (va_arg, (ValaCCodeExpression*) _tmp169_);
-+ vala_ccode_function_call_add_argument (vaa_arg, (ValaCCodeExpression*) _tmp169_);
- _vala_ccode_node_unref0 (_tmp169_);
- _g_free0 (_tmp167_);
- _tmp170_ = array_type;
-@@ -5070,7 +5070,7 @@ vala_ccode_array_module_real_append_para
- _tmp198_ = element;
- _tmp199_ = vala_ccode_base_module_get_local_cexpression ((ValaCCodeBaseModule*) self, _tmp198_);
- _tmp200_ = _tmp199_;
-- vala_ccode_function_add_assignment (_tmp197_, _tmp200_, (ValaCCodeExpression*) va_arg);
-+ vala_ccode_function_add_assignment (_tmp197_, _tmp200_, (ValaCCodeExpression*) vaa_arg);
- _vala_ccode_node_unref0 (_tmp200_);
- _tmp201_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self);
- _tmp202_ = _tmp201_;
-@@ -5096,7 +5096,7 @@ vala_ccode_array_module_real_append_para
- vala_ccode_function_add_expression (_tmp214_, (ValaCCodeExpression*) va_end);
- _vala_ccode_node_unref0 (va_end);
- _vala_ccode_node_unref0 (ccall);
-- _vala_ccode_node_unref0 (va_arg);
-+ _vala_ccode_node_unref0 (vaa_arg);
- _vala_ccode_node_unref0 (va_start);
- _vala_code_node_unref0 (element);
- _vala_ccode_node_unref0 (length_expr);