summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libshumate/files/libshumate-1.2.3-json-glib-1.9.2.patch')
-rw-r--r--media-libs/libshumate/files/libshumate-1.2.3-json-glib-1.9.2.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/media-libs/libshumate/files/libshumate-1.2.3-json-glib-1.9.2.patch b/media-libs/libshumate/files/libshumate-1.2.3-json-glib-1.9.2.patch
new file mode 100644
index 000000000000..113ab9411089
--- /dev/null
+++ b/media-libs/libshumate/files/libshumate-1.2.3-json-glib-1.9.2.patch
@@ -0,0 +1,28 @@
+https://bugs.gentoo.org/946836
+https://gitlab.gnome.org/GNOME/libshumate/-/issues/81
+https://gitlab.gnome.org/GNOME/libshumate/-/merge_requests/245
+
+From d1afd9316e0038c036c326ac5133502103fb9ecf Mon Sep 17 00:00:00 2001
+From: Marcus Lundblad <ml@dfupdate.se>
+Date: Mon, 19 Aug 2024 21:17:37 +0200
+Subject: [PATCH] tests: Escape \n in test with \\
+
+---
+ tests/vector-expression.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/vector-expression.c b/tests/vector-expression.c
+index 9e258fb..59d1d67 100644
+--- a/tests/vector-expression.c
++++ b/tests/vector-expression.c
+@@ -592,7 +592,7 @@ test_vector_expression_formatted_string ()
+ node = json_from_string ("[\"format\",\
+ \"Hello \",\
+ [\"concat\", \"world\", \"!\"], {\"font-scale\": 0.1},\
+- \"\n\", {\"text-color\": [\"coalesce\", \"red\"]},\
++ \"\\n\", {\"text-color\": [\"coalesce\", \"red\"]},\
+ null,\
+ \"test\"\
+ ]", &error);
+--
+GitLab