projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38acb08
)
fc-cache: --sysroot option takes an argument
author
Ross Burton
<ross.burton@intel.com>
Tue, 26 Nov 2013 17:18:25 +0000
(17:18 +0000)
committer
Akira TAGOH
<akira@tagoh.org>
Thu, 28 Nov 2013 06:27:04 +0000
(15:27 +0900)
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@intel.com>
fc-cache/fc-cache.c
patch
|
blob
|
history
diff --git
a/fc-cache/fc-cache.c
b/fc-cache/fc-cache.c
index
27c7513
..
bf3b6b4
100644
(file)
--- 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'},