[cairo] Patches for compilation in Win32

Antoine Azar cairo at antoineazar.com
Wed Feb 6 16:55:52 PST 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Some-fixes-and-improvements-to-the-Win32-build.patch
Type: application/octet-stream
Size: 21999 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080206/fa7443e2/attachment-0001.obj 


More information about the cairo mailing list