openbsd-ports/net/amule/patches/patch-src_utils_cas_configfile_c

28 lines
956 B
Plaintext

$OpenBSD: patch-src_utils_cas_configfile_c,v 1.2 2011/11/28 15:28:49 dcoppa Exp $
Sane defaults.
--- src/utils/cas/configfile.c.orig Mon Nov 28 09:36:48 2011
+++ src/utils/cas/configfile.c Mon Nov 28 09:37:47 2011
@@ -44,9 +44,9 @@ int writeconfig(void)
"# font_size - size the font\n",
"# source_image - image where the text will be writen\n",
"# *_line - x,y,[1/0] enabled or disabled\n\n",
- "font /usr/share/fonts/corefonts/times.ttf\n",
+ "font ${X11BASE}/lib/X11/fonts/TTF/DejaVuSerif.ttf\n",
"font_size 10.5\n",
- "source_image /usr/share/cas/stat.png\n",
+ "source_image ${TRUEPREFIX}/share/cas/stat.png\n",
"first_line 23,17,1\n",
"second_line 23,34,1\n",
"third_line 23,51,1\n",
@@ -54,7 +54,7 @@ int writeconfig(void)
"fifth_line 23,85,1\n",
"sixth_line 23,102,1\n",
"seventh_line 23,119,1\n",
- "template /usr/share/cas/tmp.html\n"
+ "template ${TRUEPREFIX}/share/cas/tmp.html\n",
"img_type 0\n"
};