To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82085
Issue #|82085
Summary|SRC680_231: ft2build.h not included thus freetype is n
|ot happy...
Component|gsl
Version|680m230
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P1
Subcomponent|code
Assigned to|pl
Reported by|pjanik
------- Additional comments from [EMAIL PROTECTED] Sat Sep 29 07:21:49 +0000
2007 -------
Hi,
when building on SL9.0 based build machine with fontconfig 2.2.1 and freetype
from the OOo CVS, I
got this:
In file included from /usr/include/fontconfig/fcfreetype.h:27,
from
/disk2/pavel/BuildDir/ooo_SRC680_m231_src/psprint/source/fontmanager/
fontconfig.cxx:41:
/disk2/pavel/BuildDir/ooo_SRC680_m231_src/solver/680/unxlngi6.pro/inc/freetype/freetype.h:20:2:
#error "`ft2build.h' hasn't been included yet!"
/disk2/pavel/BuildDir/ooo_SRC680_m231_src/solver/680/unxlngi6.pro/inc/freetype/freetype.h:21:2:
#error "Please always use macros to include FreeType header files."
/disk2/pavel/BuildDir/ooo_SRC680_m231_src/solver/680/unxlngi6.pro/inc/freetype/freetype.h:22:2:
#error "Example:"
/disk2/pavel/BuildDir/ooo_SRC680_m231_src/solver/680/unxlngi6.pro/inc/freetype/freetype.h:23:2:
#error " #include <ft2build.h>"
/disk2/pavel/BuildDir/ooo_SRC680_m231_src/solver/680/unxlngi6.pro/inc/freetype/freetype.h:24:2:
#error " #include FT_FREETYPE_H"
The simplest workaround is this:
[EMAIL PROTECTED]:~/BuildDir/ooo_SRC680_m231_src/psprint/source/fontmanager>
diff -u fontconfig.cxx.orig
fontconfig.cxx
--- fontconfig.cxx.orig 2007-09-29 10:34:25.000000000 +0200
+++ fontconfig.cxx 2007-09-29 10:33:50.000000000 +0200
@@ -38,6 +38,7 @@
#ifdef ENABLE_FONTCONFIG
#include <fontconfig/fontconfig.h>
+#include <ft2build.h>
#include <fontconfig/fcfreetype.h>
// be compatible with fontconfig 2.2.0 release
#ifndef FC_WEIGHT_BOOK
[EMAIL PROTECTED]:~/BuildDir/ooo_SRC680_m231_src/psprint/source/fontmanager>
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]