First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 76533
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jim Ramsay <lack@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
0.6.5-ft2.patch Workaround patch patch Jim Ramsay 2005-01-03 09:57 0000 322 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 76533 depends on: Show dependency tree
Bug 76533 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-01-03 09:55 0000
I get the following error when compiling clanlib-0.6.5-r2:

In file included from Sources/TTF/font_ttf.cpp:24:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"

This looks to be an issue with ClanLib itself, and I'm not sure which freetype2 version would be the first to cause this error, but 2.1.9-r1 does for sure.

------- Comment #1 From Jim Ramsay 2005-01-03 09:57:13 0000 -------
Created an attachment (id=47499) [edit]
Workaround patch

Here is a patch that makes it compile by changing how <freetype/freetype.h> is
included in the appropriate file.  There are still some compiler warnings in
that file, but they don't seem to interfere with compilation.  Haven't tried
running it  yet.

------- Comment #2 From Stefan Sperling 2005-02-07 14:59:51 0000 -------
Works fine here.
The fix should be in the tree, this bug breaks games-puzzle/pingus !!!!! ;)

------- Comment #3 From Gleb Litvjak 2005-02-08 07:59:22 0000 -------
i can confirm - the patch seems to work OK, clanlib compiled w/o any problems.
Emerging pingus right now.

------- Comment #4 From Oldrich Jedlicka 2005-02-11 05:00:12 0000 -------
Same for me. Patch work perfectly.

------- Comment #5 From SpanKY 2005-03-01 17:50:36 0000 -------
added patch to cvs, thanks !

First Last Prev Next    No search results available      Search page      Enter new bug