[cairo] Patches for compilation in Win32

Behdad Esfahbod behdad at behdad.org
Wed Feb 6 18:46:02 PST 2008


Ok.  The patch still was wrongly removing M_PI definition from
cairoint.h, but I fixed that and some whitespace issues locally and
pushed.  Thanks!

On Wed, 2008-02-06 at 19:55 -0500, Antoine Azar wrote:
> Here's a new patch incorporating Behdad's changes and Vladimir's 
> proposition for getopt. Everything should now compile fine out of the 
> box on Win32.
> 
> Antoine
> 
> 
> At 06:04 PM 2/6/2008, Behdad Esfahbod wrote:
> 
> >On Wed, 2008-02-06 at 14:52 -0800, Vladimir Vukicevic wrote:
> > > On Feb 6, 2008, at 2:23 PM, Antoine Azar wrote:
> > >
> > > > Hey Behdad,
> > > >
> > > > Here's finally the Win32 patch. Fixes compilation and linking
> > > > errors, and adds debug and release configs to the win32 makefiles.
> > > >
> > > > There's still the getopt error present on Win32 which I bypass on my
> > > > local machine with code from GNU's C library. It would be good to
> > > > check if we can either include it in the perf code (license issues?)
> > > > or parse command line arguments without it.
> > >
> > > Ah, I forgot I looked into this last week -- I found a simplified
> > > getopt that's BSD-licensed that we could drop in without any license
> > > issues at http://sourceforge.net/projects/freegetopt/ .  I'd actually
> > > suggest calling this _cairo_getopt or something and linking it in as
> > > part of boilerplate so that both perf and normal tests have access to
> > > it.
> >
> >Sounds good.  Go ahead.
> >
> > >      - Vlad
> >--
> >behdad
> >http://behdad.org/
> >
> >"Those who would give up Essential Liberty to purchase a little
> >  Temporary Safety, deserve neither Liberty nor Safety."
> >         -- Benjamin Franklin, 1759
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



More information about the cairo mailing list