libgd/gd-2.0.35-default_fontpath.patch

12 lines
448 B
Diff

--- gd-2.0.35/Makefile.in 2007-04-23 16:57:51.000000000 +0200
+++ gd-2.0.35/Makefile.in.def_fontpath 2008-10-25 12:17:52.000000000 +0200
@@ -227,7 +227,7 @@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ -D_DEFAULT_FONTPATH="/usr/lib/X11/fonts/TTF:/usr/lib/X11/fonts/Type1:/usr/share/fonts/liberation:/usr/share/fonts/msttcorefonts:/usr/share/fonts/truetype"
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@