v1-0002-Meson-Fix-version-number-in-todo-comment-about-st.patch

text/x-patch

Filename: v1-0002-Meson-Fix-version-number-in-todo-comment-about-st.patch
Type: text/x-patch
Part: 1
Message: Minor cleanup of Meson files given that we require 0.57

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: format-patch
Series: patch v1-0002
Subject: Meson: Fix version number in todo comment about str.replace in
File+
meson.build 1 1
From d90e1b5c2b3acaa007eea7571d6258faec5cce76 Mon Sep 17 00:00:00 2001
From: Andreas Karlsson <andreas@proxel.se>
Date: Wed, 1 Apr 2026 17:28:58 +0200
Subject: [PATCH v1 2/2] Meson: Fix version number in todo comment about
 str.replace in

The str.replace() function was added in Meson 0.58, not in 0.56 as the
comment claimed.
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 295ec6f857b..b17f4a3b086 100644
--- a/meson.build
+++ b/meson.build
@@ -3669,7 +3669,7 @@ endforeach
 # find and report conflicting files
 foreach build_path : potentially_conflicting_files
   build_path = host_system == 'windows' ? fs.as_posix(build_path) : build_path
-  # str.replace is in 0.56
+  # str.replace is in meson 0.58
   src_path = meson.current_source_dir() / build_path.split(meson.current_build_dir() / '')[1]
   if fs.exists(src_path) or fs.is_symlink(src_path)
     conflicting_files += src_path
-- 
2.47.3