diff options
author | dholland <dholland> | 2011-01-06 07:03:55 +0000 |
---|---|---|
committer | dholland <dholland> | 2011-01-06 07:03:55 +0000 |
commit | 2c7f48e6aadbafa1bed9181b6f67359e9e860ad4 (patch) | |
tree | 99df45129986b016bd45aa3007e672132bad5058 /graphics/gnuplot/patches | |
parent | 204ca30acb5df1e0576c1d66916e7ac84d09ad21 (diff) | |
download | pkgsrc-2c7f48e6aadbafa1bed9181b6f67359e9e860ad4.tar.gz |
Add pkgsrc X and netbsd-5+ native X font dirs to the list of candidate
directories for the default fontpath. PKGREVISION++. ok agc.
The font handling is still fairly problematic; I guess Someone(TM)
should teach this to use fontconfig sometime.
Diffstat (limited to 'graphics/gnuplot/patches')
-rw-r--r-- | graphics/gnuplot/patches/patch-ah | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/gnuplot/patches/patch-ah b/graphics/gnuplot/patches/patch-ah new file mode 100644 index 00000000000..68417f31509 --- /dev/null +++ b/graphics/gnuplot/patches/patch-ah @@ -0,0 +1,20 @@ +$NetBSD: patch-ah,v 1.1 2011/01/06 07:03:55 dholland Exp $ + +Add NetBSD native X and pkgsrc modular X directories to the candidate +font path list. + +--- src/variable.c.orig 2008-12-15 04:18:36.000000000 +0000 ++++ src/variable.c +@@ -262,6 +262,12 @@ static const struct path_table fontpath_ + { "$`kpsexpand '$TEXMFMAIN'`/fonts/type1!" }, + { "$`kpsexpand '$TEXMFDIST'`/fonts/type1!" }, + #endif ++ /* NetBSD pkgsrc X.org */ ++ { PKGSRC_PREFIX "/lib/X11/fonts/Type1" }, ++ { PKGSRC_PREFIX "/lib/X11/fonts/truetype" }, ++ /* NetBSD native X.org */ ++ { "/usr/X11R7/lib/X11/fonts/Type1" }, ++ { "/usr/X11R7/lib/X11/fonts/truetype" }, + /* Linux paths */ + { "/usr/X11R6/lib/X11/fonts/Type1" }, + { "/usr/X11R6/lib/X11/fonts/truetype" }, |