The following patch to dlls/gdi/freetype.c
revision 1.52 date: 2004/01/18 23:35:13; author: julliard; state: Exp; lines: +3 -4 Use the exported FONTENUMPROCW as parameter in the EnumDeviceFonts driver function instead of defining a private function type.
breaks compilation
freetype.c:2521: error: syntax error before "DEVICEFONTENUMPROC" freetype.c: In function `WineEngEnumFonts': freetype.c:2522: error: number of arguments doesn't match prototype gdi_private.h:220: error: prototype declaration
on a system with FreeType 2.1.4 and XFree86 4.3.0.
The problem seems that DEVICEFONTENUMPROC is not defined, though on some of my other test boxes with slightly different versions of FreeType, I did not see this problem.
http://www.rtp.freebsd.org/~gerald/config.h contains the config.h file from autoconf.
Gerald
On Mon, Jan 19, 2004 at 11:08:09AM +0100, Gerald Pfeifer wrote:
The following patch to dlls/gdi/freetype.c
revision 1.52 date: 2004/01/18 23:35:13; author: julliard; state: Exp; lines: +3 -4 Use the exported FONTENUMPROCW as parameter in the EnumDeviceFonts driver function instead of defining a private function type.
breaks compilation
freetype.c:2521: error: syntax error before "DEVICEFONTENUMPROC" freetype.c: In function `WineEngEnumFonts': freetype.c:2522: error: number of arguments doesn't match prototype gdi_private.h:220: error: prototype declaration
on a system with FreeType 2.1.4 and XFree86 4.3.0.
The problem seems that DEVICEFONTENUMPROC is not defined, though on some of my other test boxes with slightly different versions of FreeType, I did not see this problem.
http://www.rtp.freebsd.org/~gerald/config.h contains the config.h file from autoconf.
Looks like we're not finding freetype on your system for some reason. This should fix the compilation.