summaryrefslogtreecommitdiff
path: root/x11-fonts/xfs/files/patch-config.cpp
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2005-01-23 19:50:40 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2005-01-23 19:50:40 +0000
commit6e74169b0c089e73faece47dfe38457554683c53 (patch)
tree06f00d8b47b38e146f7d626f3679c06fb2a19fbf /x11-fonts/xfs/files/patch-config.cpp
parent* update to 1.0b (diff)
Add rcNG startup script. [1]
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]
Notes
Notes: svn path=/head/; revision=127146
Diffstat (limited to 'x11-fonts/xfs/files/patch-config.cpp')
-rw-r--r--x11-fonts/xfs/files/patch-config.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-fonts/xfs/files/patch-config.cpp b/x11-fonts/xfs/files/patch-config.cpp
new file mode 100644
index 000000000000..d44e630c972f
--- /dev/null
+++ b/x11-fonts/xfs/files/patch-config.cpp
@@ -0,0 +1,13 @@
+--- 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