diff options
author | novel <novel@FreeBSD.org> | 2006-01-07 19:20:19 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2006-01-07 19:20:19 +0800 |
commit | f7b24bd6ef2ed52a00cade0099d12ca36a174661 (patch) | |
tree | 21aa85bf750d190c2cf42ac6c8a0e5f1a6b17c67 /sysutils/conky | |
parent | 3b3140ee0dea4d1d0cc8e4c91a8caee419488c94 (diff) | |
download | freebsd-ports-gnome-f7b24bd6ef2ed52a00cade0099d12ca36a174661.tar.gz freebsd-ports-gnome-f7b24bd6ef2ed52a00cade0099d12ca36a174661.tar.zst freebsd-ports-gnome-f7b24bd6ef2ed52a00cade0099d12ca36a174661.zip |
FIx build without xft support.
Reported by: pointyhat via kris
Diffstat (limited to 'sysutils/conky')
-rw-r--r-- | sysutils/conky/files/patch-src-conky.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sysutils/conky/files/patch-src-conky.c b/sysutils/conky/files/patch-src-conky.c new file mode 100644 index 000000000000..c99f28ff7cc4 --- /dev/null +++ b/sysutils/conky/files/patch-src-conky.c @@ -0,0 +1,27 @@ +--- src/conky.c.orig Sat Dec 31 17:36:16 2005 ++++ src/conky.c Sat Jan 7 14:13:47 2006 +@@ -4853,6 +4853,7 @@ + CONF_ERR; + } + CONF("xftfont") { ++ if (use_xft) + #else + CONF("use_xft") { + if (string_to_bool(value)) +@@ -4866,12 +4867,10 @@ + } + CONF("font") { + #endif +- if (use_xft) { +- if (value) { +- set_first_font(value); +- } else +- CONF_ERR; +- } ++ if (value) { ++ set_first_font(value); ++ } else ++ CONF_ERR; + } + CONF("gap_x") { + if (value) |