summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch')
-rw-r--r--meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch b/meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch
new file mode 100644
index 0000000000..abfdbc710d
--- /dev/null
+++ b/meta/recipes-graphics/fontconfig/fontconfig/sysroot-arg.patch
@@ -0,0 +1,32 @@
1Upstream-Status: Submitted [https://bugs.freedesktop.org/show_bug.cgi?id=72044]
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From f2ade764cc9f009e1fe25b856b24b7695f66a952 Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@intel.com>
6Date: Tue, 26 Nov 2013 17:18:25 +0000
7Subject: [PATCH] fc-cache: --sysroot option takes an argument
8
9The getopt_long option definitions say that sysroot doesn't take an argument,
10when it in fact does.
11
12Signed-off-by: Ross Burton <ross.burton@intel.com>
13---
14 fc-cache/fc-cache.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c
18index 27c7513..bf3b6b4 100644
19--- a/fc-cache/fc-cache.c
20+++ b/fc-cache/fc-cache.c
21@@ -67,7 +67,7 @@
22 const struct option longopts[] = {
23 {"force", 0, 0, 'f'},
24 {"really-force", 0, 0, 'r'},
25- {"sysroot", 0, 0, 'y'},
26+ {"sysroot", required_argument, 0, 'y'},
27 {"system-only", 0, 0, 's'},
28 {"version", 0, 0, 'V'},
29 {"verbose", 0, 0, 'v'},
30--
311.8.4.4
32