... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2/ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DFONTCONFIG_PATH=\"/etc/fonts\" -I.. -I../src -march=nocona -O2 -pipe -fomit-frame-pointer -MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c -fPIC -DPIC -o .libs/fcfreetype.o fcfreetype.c:53:10: error: #include expects "FILENAME" or <FILENAME> fcfreetype.c:58:10: error: #include expects "FILENAME" or <FILENAME> fcfreetype.c:59:10: error: #include expects "FILENAME" or <FILENAME> fcfreetype.c:60:10: error: #include expects "FILENAME" or <FILENAME> fcfreetype.c: In function ‘FcSfntNameTranscode’: fcfreetype.c:736: warning: pointer targets in passing argument 2 of ‘FcStrCmpIgnoreBlanksAndCase’ differ in signedness fcfreetype.c: In function ‘FcSfntNameLanguage’: fcfreetype.c:752: warning: pointer targets in return differ in signedness fcfreetype.c: In function ‘FcVendorMatch’: fcfreetype.c:804: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness fcfreetype.c: At top level: ... Here is my emerge --info kyron src # emerge --info >>> cfg-update-1.8.0-r3 : Building checksum index... (takes a few seconds) done! Portage 2.1.1_pre2-r8 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-ck11_KyRoN i686) ================================================================= System Settings ================================================================= System uname: 2.6.16-ck11_KyRoN i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.12.1 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.92, 2.16.93, 2.17.50.0.2 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo" LANG="en_US.utf8" LINGUAS="en fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci /usr/local/gentoo-webapps-overlay/experimental /usr/local/gentoo-webapps-overlay/production-ready" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac acl adns alsa apache2 asf asterisk audiofile avi bash-completion berkdb bidi bitmap-fonts blas bzip2 cairo cddb cdparanoia cdr cgi ck-server clanJavaScript clanVoice cli crypt ctype cups curl dba dbus dga divx4linux dlloader dts dvb dvd dvdr dvdread edl emboss encode esd expat f2c fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gcj gd gdbm ggi gif gimp gimpprint ginac gpm gstreamer gtk gtk2 hal hdf5 iconv imagemagick imap imlib imlib2 ithreads jack java javascript jikes jp2 jpeg jpeg2k kde kdeenablefinal kdepim kdexdeltas kerberos ldap libcaca lm_sensors ltsp lzo mad maildir math matroska matrox mbrola md5sum memlimit mikmod mjpeg mmx mmx2 mmxext mozcalendar mp3 mpeg mpeg2 mpeg4 mplayer mpm-worker msn mysql mysqli mythtv nas ncurses netboot network nfs nis nls nntp no-htdocs no-old-linux no-suexec noplugin nptl nvidia offensive ofx ogg oggvorbis openal opengl oss pam pcre pda pdf pdflib perl php pic pie plotutils png posix povray ppds pthreads python qhull qt qt3 qt4 quicktime quotas readline samba sasl savedconfig scanner sdl server session sndfile soap socket sox spell sse sse2 ssl stroke svg svga tcltk tcpd tga theora threads tiff tokenizer transcode truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles user-homedirs userlocales utf8 v4l v4l2 vcd vcdimager vhosts vidix vim-pager vim-with-x vorbis win32codecs wmf wxwindows xanim xchattext xine xinerama xml xmms xprint xsl xv xvid yahoo yv12 zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_fr userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Here's the patch: http://freetype.sourceforge.net/freetype2/patches/fontconfig-2.3.2-noftinternals.patch
Just to confirm that the patch works. All I did is copy the latest ebuild (2.3.2-r1) and added the epatch line.
Works for me as well. Wouldn't it be a good time to put this patch in, or at least one of the newer versions of fontconfig which no longer use FreeType internals?
*** Bug 146414 has been marked as a duplicate of this bug. ***
fontconfig 2.3.2-r2 with patch and 2.4.1 have been added