Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150383 - wxGTK-2.4.2-r4 fails to compile with freetype-2.2
Summary: wxGTK-2.4.2-r4 fails to compile with freetype-2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-07 07:38 UTC by Rene Gass
Modified: 2006-10-14 20:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for ebuild (ebuild.diff,328 bytes, patch)
2006-10-07 07:39 UTC, Rene Gass
Details | Diff
patch for source code (wxGTK-2.4.2-noftinternals.patch,1.16 KB, patch)
2006-10-07 07:42 UTC, Rene Gass
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Gass 2006-10-07 07:38:45 UTC
wxGTK-2.4.2 uses freetype internals. I have attached patches for ebuild and source code to correct this problem.
Comment 1 Rene Gass 2006-10-07 07:39:49 UTC
Created attachment 99046 [details, diff]
patch for ebuild
Comment 2 Rene Gass 2006-10-07 07:42:35 UTC
Created attachment 99047 [details, diff]
patch for source code
Comment 3 Rene Gass 2006-10-07 07:52:00 UTC
Well, "internals" was wrong. It's some kind of API change in freetype 2.2.1 or so. Anyway, it compiles with this patch. Another approach to the problem can be found here:

http://mail-index.netbsd.org/pkgsrc-bugs/2006/06/05/0005.html
Comment 4 Mart Raudsepp gentoo-dev 2006-10-07 07:53:03 UTC
Is wxGTK-2.6 affected, as 2.4 is being phased out and no fixes are planned for it?
Comment 5 Rene Gass 2006-10-07 08:37:46 UTC
No, 2.6 compiles fine. Also I don't seem to have any package left on my system that requires wxGTK-2.4.
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2006-10-14 20:49:43 UTC
Mart, I applied this patch conditionally on freetype version in wxGTK-2.4.2-r4.ebuild (no need to revbump) because wxperl depends on wxGTK-2.4 even though they don't realize it yet.

Thanks for the patch, Rene