Fix libXfont to work with newer freetype; fixes #2518

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7432 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Dan Nichilson 2008-05-09 21:02:23 +00:00
parent 410e228bb9
commit b48899b11a
2 changed files with 11 additions and 1 deletions

View File

@ -44,6 +44,10 @@
<listitem>
<para>May 9th, 2008</para>
<itemizedlist>
<listitem>
<para>[dnicholson] - Fixed libXfont to work with newer
versions of FreeType2.</para>
</listitem>
<listitem>
<para>[randy] - Updated to rsync-3.0.2.</para>
</listitem>

View File

@ -123,7 +123,8 @@ libX11-&libX11-version; )
sed -i 's/_XGet/XGet/' modules/im/ximcp/imDefLkup.c
;;
libXfont-&libXfont-version; )
patch -Np1 -i ../libXfont-&libXfont-version;-pcf_parser-1.patch
patch -Np1 -i ../libXfont-&libXfont-version;-pcf_parser-1.patch &amp;&amp;
sed -i 's/(ft_isdigit/(isdigit/' src/FreeType/fttools.c
;;
esac &amp;&amp;
./configure $XORG_CONFIG &amp;&amp;
@ -161,6 +162,11 @@ ldconfig</userinput></screen>
vulnerability</ulink> in the PCF font parser in
<application>libXfont</application>.</para>
<para><command>sed -i 's/(ft_isdigit/(isdigit/' src/FreeType/fttools.c</command>:
In newer versions of <application>Freetype2</application>, the
ft_isdigit macro has been removed. This command replaces it with the
compatible isdigit macro.</para>
</sect2>
<sect2 role="configuration">