Subject: [bug#77956] [PATCH gnome-team 08/23] gnu: [email-masked]: Update to 0.52.11.

From: Liliana Marie Prikler <[email-masked]>
Date: Mon, 21 Apr 2025 15:47:48 +0200

* gnu/packages/gnome.scm (vala-0.52): Update to 0.52.11.
* gnu/packages/patches/vala-0.52-fix-valagirparser.patch: Adjust accordingly.
---
 gnu/packages/gnome.scm                                 | 4 ++--
 gnu/packages/patches/vala-0.52-fix-valagirparser.patch | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 48cc923093d..5e6a0e51292 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4667,7 +4667,7 @@ (define-public vala
 ;;; An older variant kept to build libsoup-minimal-2.
 (define-public vala-0.52
   (package/inherit vala
-    (version "0.52.0")
+    (version "0.52.11")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnome/sources/vala/"
@@ -4675,7 +4675,7 @@ (define-public vala-0.52
                                   "vala-" version ".tar.xz"))
               (sha256
                (base32
-                "12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))
+                "0xvhg32sxnfyvxn86hh9mn65mh1g189vhsjcahccj0zbwnrkqz3w"))
               (patches (search-patches "vala-0.52-fix-valagirparser.patch"))))))
 
 (define-public vte
diff --git a/gnu/packages/patches/vala-0.52-fix-valagirparser.patch b/gnu/packages/patches/vala-0.52-fix-valagirparser.patch
index 3cb7b16d05c..5a16e15567c 100644
--- a/gnu/packages/patches/vala-0.52-fix-valagirparser.patch
+++ b/gnu/packages/patches/vala-0.52-fix-valagirparser.patch
@@ -16,7 +16,7 @@ Index: vala-0.52.0/vala/valagirparser.c
  					_tmp31_ = _tmp30_;
  					if (g_strcmp0 (_tmp31_, "c:include") == 0) {
  						vala_gir_parser_parse_c_include (self);
-+					} else if (g_strcmp0 (_tmp31_, "doc:format") == 0) {
++					} else if (g_strcmp0 (_tmp30_, "doc:format") == 0) {
 +						vala_gir_parser_skip_element (self);
  					} else {
  						ValaSourceReference* _tmp32_;
@@ -42,7 +42,7 @@ Index: vala-0.52.0/libvaladoc/importer/girdocumentationimporter.c
  					_tmp21_ = _tmp20_;
  					if (g_strcmp0 (_tmp21_, "c:include") == 0) {
  						valadoc_importer_gir_documentation_importer_parse_c_include (self);
-+					} else if (g_strcmp0 (_tmp21_, "doc:format") == 0) {
++					} else if (g_strcmp0 (_tmp20_, "doc:format") == 0) {
 +						valadoc_importer_gir_documentation_importer_skip_element (self);
  					} else {
  						ValaMarkupReader* _tmp22_;
-- 
2.49.0