Debian Codegraph @

debian/patches/30-xft-support.patch

raw
1 Make Perltk build with xft support
2 see bug #740207 for details
3 patch from Roderich Schupp
4 --- a/myConfig
5 +++ b/myConfig
6 @@ -147,7 +147,12 @@
7 {
8 foreach (map { "$_/freetype2" } @_)
9 {
10 - if (-d $_ && -d "$_/freetype" && -r "$_/freetype/freetype.h")
11 + if (-r "$_/freetype.h") # location in Debian (since jessie)
12 + {
13 + print "Using -I$_ to find $_/freetype/freetype.h\n";
14 + return "-I$_";
15 + }
16 + if (-r "$_/freetype/freetype.h") # location in FreeBSD (up to version 10.0) and Debian (up to wheezy)
17 {
18 print "Using -I$_ to find $_/freetype/freetype.h\n";
19 return "-I$_";