ports/net/amule/patches/patch-src_utils_cas_configfile_c

25 lines
874 B
Text

Sane defaults.
--- src/utils/cas/configfile.c.orig Fri Sep 16 09:55:07 2016
+++ src/utils/cas/configfile.c Sun Sep 18 15:31:21 2016
@@ -52,9 +52,9 @@ int writeconfig(void)
"# font_size - size the font\n",
"# source_image - image where the text will be written\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",
@@ -62,7 +62,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"
};