evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / pl / plymouth / fix-paths.patch
blob5f930403f8ace8e9d9f59bac18c7cd77b4539a4d
1 diff --git a/src/plugins/controls/label-freetype/plugin.c b/src/plugins/controls/label-freetype/plugin.c
2 index 917b04c0..83f2bec2 100644
3 --- a/src/plugins/controls/label-freetype/plugin.c
4 +++ b/src/plugins/controls/label-freetype/plugin.c
5 @@ -127,7 +127,7 @@ find_default_font_path (void)
6 FILE *fp;
7 static char fc_match_out[PATH_MAX];
9 - fp = popen ("/usr/bin/fc-match -f %{file}", "r");
10 + fp = popen ("@fcmatch@ -f %{file}", "r");
11 if (!fp)
12 return FONT_FALLBACK;
14 @@ -144,7 +144,7 @@ find_default_monospace_font_path (void)
15 FILE *fp;
16 static char fc_match_out[PATH_MAX];
18 - fp = popen ("/usr/bin/fc-match -f %{file} monospace", "r");
19 + fp = popen ("@fcmatch@ -f %{file} monospace", "r");
20 if (!fp)
21 return MONOSPACE_FONT_FALLBACK;