Hi Brett, i'll try it and then put to dude svn.
Thank you !!! Luc On Fri, Feb 22, 2008 at 2:28 PM, Albertson, Brett <bretta at consonus.com> wrote: > This patch allows me to compile sdl-ttf. To link it, I also have to add > "-liconv" but that's minor. I found this patch on the freetype website. > > --- SDL-TTF/2.0.8/SDL_ttf.c.ORIG 2008-01-04 10:10:15.000000000 > -0500 > +++ SDL-TTF/2.0.8/SDL_ttf.c 2008-02-21 09:46:25.404491000 -0500 > @@ -43,16 +43,6 @@ > #include FT_FREETYPE_H > #include FT_OUTLINE_H > #include FT_TRUETYPE_IDS_H > -/* > -#include <freetype/freetype.h> > -#include <freetype/ftoutln.h> > -#include <freetype/ttnameid.h> > -*/ > -#include <freetype/internal/ftobjs.h> > - > -#ifndef FT_OPEN_STREAM > -#define FT_OPEN_STREAM ft_open_stream > -#endif > > #include "SDL.h" > #include "SDL_endian.h" > @@ -278,7 +268,7 @@ > } > memset(stream, 0, sizeof(*stream)); > > - stream->memory = library->memory; > + stream->memory = NULL; > stream->read = RWread; > stream->descriptor.pointer = src; > stream->pos = (unsigned long)position; > > I added this into the cvsdude framework and it would then compile. I > had to also add "-liconv" in to get it to link. > > Brett Albertson > bretta at consonus.com > 919-379-8449 > > _______________________________________________ > kde-discuss mailing list > kde-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/kde-discuss > -- Lukas 'Luc' Oboril IRC nickname: luc^ at freenode When dealing with people, let us remember we are not dealing with creatures of logic. We are dealing with creatures of emotions, creatures bristling with prejudices and motivated by pride and vanity. Dale Carnegie -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/kde-discuss/attachments/20080223/bb7bd3c4/attachment.html>
