diff options
Diffstat (limited to 'sci-mathematics/gsl-shell/files/gsl-shell-font.patch')
-rw-r--r-- | sci-mathematics/gsl-shell/files/gsl-shell-font.patch | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sci-mathematics/gsl-shell/files/gsl-shell-font.patch b/sci-mathematics/gsl-shell/files/gsl-shell-font.patch index 0511b26b8af8..d8879497c4cd 100644 --- a/sci-mathematics/gsl-shell/files/gsl-shell-font.patch +++ b/sci-mathematics/gsl-shell/files/gsl-shell-font.patch @@ -1,13 +1,10 @@ diff -r -U1 gsl-shell.orig/agg-plot/support_x11.cpp gsl-shell/agg-plot/support_x11.cpp ---- gsl-shell.orig/agg-plot/support_x11.cpp 2012-09-12 01:13:31.000000000 +0700 -+++ gsl-shell/agg-plot/support_x11.cpp 2012-09-26 16:07:10.000000000 +0700 -@@ -4,3 +4,3 @@ - +--- gsl-shell.orig/agg-plot/support_x11.cpp 2012-11-27 04:55:38.000000000 +0700 ++++ gsl-shell/agg-plot/support_x11.cpp 2012-11-30 23:02:31.000000000 +0700 +@@ -9,4 +9,4 @@ + #else -const char *ttf_names[] = {"ubuntu-font-family/Ubuntu-R.ttf", "freefont/FreeSans.ttf", "ttf-dejavu/DejaVuSans.ttf", 0}; +-#define TTF_SYSTEM_DIR "/usr/share/fonts/truetype/" +const char *ttf_names[] = {"ubuntu-font-family/Ubuntu-R.ttf", "freefont-ttf/FreeSans.ttf", "dejavu/DejaVuSans.ttf", 0}; - -@@ -8,3 +8,3 @@ - { -- const char* ttf_dir = "/usr/share/fonts/truetype/"; -+ const char* ttf_dir = "/usr/share/fonts/"; - unsigned len = strlen(ttf_dir); ++#define TTF_SYSTEM_DIR "/usr/share/fonts/" + #define CONSOLE_FONT_NAME "monospace" |