makemaker-defaults.mk: fallback COMPONENT_PROJECT_URL to dist
[oi-userland.git] / components / image / gnuplot / patches / 01-arial.patch
blobfe5b608ef31f9f62a46a09e6a43bade328d011f6
1 This changes the default font from "arial" which we don't have in OpenIndiana to "LiberationSans-Regular".
2 --- gnuplot-4.4.0/term/gd.trm.orig Wed Feb 24 18:29:20 2010
3 +++ gnuplot-4.4.0/term/gd.trm Mon Mar 28 16:41:55 2011
4 @@ -978,7 +978,11 @@
5 if (external_default)
6 png_state.ttffont = gp_strdup(external_default);
7 else /* Might as well try some plausible font; it's no worse than failing immediately */
8 +#ifndef sun
9 png_state.ttffont = gp_strdup("arial");
10 +#else /* sun */
11 + png_state.ttffont = gp_strdup("LiberationSans-Regular");
12 +#endif /* sun */
14 free(png_state.default_ttffont);
15 png_state.default_ttffont = gp_strdup(png_state.ttffont);