6e74169b0c
Font cache is not build by default, which makes related lines in default configure file wrong, which in turn causes xfs to error out on startup with default file. Tweak generation of said file in a way that would make proper configuration depending on existance of font caching code, so that this patch can be sent upstream. [2] Inspired by: Jose M Rodriguez (josemi at freebsd.jazztel.es) [1] Bits and pieces for [1] stolen from: src/etc/rc.d/xfs, apache2 and squid ports Noticed by: Gary Dunn (knowtree at aloha.com) [2]
13 lines
348 B
C++
13 lines
348 B
C++
--- programs/xfs/config.cpp.orig Tue Jan 18 22:31:25 2005
|
|
+++ programs/xfs/config.cpp Tue Jan 18 22:32:13 2005
|
|
@@ -8,8 +8,10 @@
|
|
XCOMM in decipoints
|
|
default-point-size = 120
|
|
default-resolutions = 75,75,100,100
|
|
+#ifdef FONTCACHE
|
|
|
|
XCOMM font cache control, specified in KB
|
|
cache-hi-mark = 2048
|
|
cache-low-mark = 1433
|
|
cache-balance = 70
|
|
+#endif
|