[Fontconfig] fontconfig: Branch 'master'

Akira TAGOH tagoh at kemper.freedesktop.org
Wed Nov 27 22:27:24 PST 2013


 fc-cache/fc-cache.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a5fd7912ff8c7bc72d2cdbd0038c7ff0c968831f
Author: Ross Burton <ross.burton at intel.com>
Date:   Tue Nov 26 17:18:25 2013 +0000

    fc-cache: --sysroot option takes an argument
    
    The getopt_long option definitions say that sysroot doesn't take an argument,
    when it in fact does.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>

diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c
index 27c7513..bf3b6b4 100644
--- a/fc-cache/fc-cache.c
+++ b/fc-cache/fc-cache.c
@@ -67,7 +67,7 @@
 const struct option longopts[] = {
     {"force", 0, 0, 'f'},
     {"really-force", 0, 0, 'r'},
-    {"sysroot", 0, 0, 'y'},
+    {"sysroot", required_argument, 0, 'y'},
     {"system-only", 0, 0, 's'},
     {"version", 0, 0, 'V'},
     {"verbose", 0, 0, 'v'},


More information about the Fontconfig mailing list