Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From bea5156cd7e7122715b26c769c35928141a1da2c Mon Sep 17 00:00:00 2001 |
| 2 | From: Joshua Watt <JPEWhacker@gmail.com> |
| 3 | Date: Mon, 18 Nov 2019 14:46:34 -0600 |
| 4 | Subject: [PATCH] Remove non-reproducible SRCDIR |
| 5 | |
| 6 | Removes SRCDIR as the prefix for finding the test font. This wouldn't |
| 7 | work anyway, since that path is not present on the target. |
| 8 | |
| 9 | This patch is specific to OE, since it appears that this entire method |
| 10 | of testing was removed when upstream was re-written in rust |
| 11 | |
| 12 | Upstream-Status: Inappropriate [OE-specific, no longer present upstream] |
| 13 | Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> |
| 14 | --- |
| 15 | rsvg-cairo-draw.c | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/rsvg-cairo-draw.c b/rsvg-cairo-draw.c |
| 19 | index caa9104..cfb7ed2 100644 |
| 20 | --- a/rsvg-cairo-draw.c |
| 21 | +++ b/rsvg-cairo-draw.c |
| 22 | @@ -398,7 +398,7 @@ set_font_options_for_testing (PangoContext *context) |
| 23 | static void |
| 24 | create_font_config_for_testing (RsvgCairoRender *render) |
| 25 | { |
| 26 | - const char *font_path = SRCDIR "/tests/resources/LiberationSans-Regular.ttf"; |
| 27 | + const char *font_path = "/tests/resources/LiberationSans-Regular.ttf"; |
| 28 | |
| 29 | if (render->font_config_for_testing != NULL) |
| 30 | return; |