Author: dnicholson
Date: 2008-05-09 15:02:23 -0600 (Fri, 09 May 2008)
New Revision: 7432
Modified:
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/x/installing/x7lib.xml
Log:
Fix libXfont to work with newer freetype; fixes #2518
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2008-05-09 13:00:42 UTC
(rev 7431)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2008-05-09 21:02:23 UTC
(rev 7432)
@@ -45,6 +45,10 @@
<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>
</itemizedlist>
Modified: trunk/BOOK/x/installing/x7lib.xml
===================================================================
--- trunk/BOOK/x/installing/x7lib.xml 2008-05-09 13:00:42 UTC (rev 7431)
+++ trunk/BOOK/x/installing/x7lib.xml 2008-05-09 21:02:23 UTC (rev 7432)
@@ -123,7 +123,8 @@
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 &&
+ sed -i 's/(ft_isdigit/(isdigit/' src/FreeType/fttools.c
;;
esac &&
./configure $XORG_CONFIG &&
@@ -161,6 +162,11 @@
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">
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page