aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/pango-skip-libthai-test.patch
blob: 98732b53913b60a56ebdb4bc93a62ad115bf2829 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Skip Thai character test when libthai is unavailable.

Taken from upstream bug tracker:
https://gitlab.gnome.org/GNOME/pango/merge_requests/161
https://gitlab.gnome.org/GNOME/pango/commit/b73284747ac937e31dc9191f84ed6e24284c88ee

diff --git a/tests/test-break.c b/tests/test-break.c
index 8549b678bba69360d07dce3af21d915412f20d51..47fa3009165e19a331aa04a0df4351ae2323933b 100644
--- a/tests/test-break.c
+++ b/tests/test-break.c
@@ -305,6 +305,12 @@ main (int argc, char *argv[])
       if (!strstr (name, "break"))
         continue;
 
+#ifndef HAVE_LIBTHAI
+      /* four.break involves Thai, so only test it when we have libthai */
+      if (strstr (name, "four.break"))
+        continue;
+#endif
+
       path = g_strdup_printf ("/break/%s", name);
       g_test_add_data_func_full (path, g_test_build_filename (G_TEST_DIST, "breaks", name, NULL),
                                  test_break, g_free);
72ed1ae0f8553a20ddfdfb88242f1'>gnu: python-pyzstd: Update to 0.15.9....Tobias Geerinckx-Rice 2023-07-03gnu: python-isal: Update to 1.1.0....Ricardo Wurmus 2023-04-12gnu: python-zopfli: Update to 0.2.2....Maxim Cournoyer 2023-04-12gnu: python-lz4: Update to 4.3.2....Maxim Cournoyer 2022-11-24gnu: python-brotlicffi: Unbundle brotli....Efraim Flashner 2022-11-23gnu: python-py7zr: Update to 0.20.2....Ricardo Wurmus 2022-11-23gnu: Add python-pybcj....Ricardo Wurmus 2022-11-23gnu: Add python-inflate64....Ricardo Wurmus 2022-11-23gnu: python-multivolumefile: Update to 0.2.3....Ricardo Wurmus 2022-11-23gnu: Add python-brotlicffi....Ricardo Wurmus 2022-11-23gnu: Add python-pyppmd....Ricardo Wurmus 2022-11-23gnu: python-zstandard: Update to 0.19.0....Ricardo Wurmus 2022-11-23gnu: python-pyzstd: Update to 0.15.3....Ricardo Wurmus 2022-11-23gnu: python-ppmd-cffi: Update to 0.5.0....Ricardo Wurmus