Re: [AD] Porting Allegro to Haiku

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2008-08-27, scott mc <scottmc2@xxxxxxxxxx> wrote:
> Peter,
> 
> > You seem to be duplicating some BeOS port files.  Any reason you can't
> > use the BeOS files with a few #ifdefs where there are differences?
> >
> 
> Point noted.  I've made a second pass at it and posted the new diff here:
> http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/allegro/allegro-4.3.10-haiku-2.diff
> This still fails make while trying to build usigalrm.c but I think
> it's a cleaner patch than the first one.

Yup.

> >> I'll be logging my progress on this one on the HaikuPorts website:
> >> http://ports.haiku-files.org/wiki/media-libs/allegro/4.3.10/1
> >> Once I figure out the correct path to go down on this one and manage
> >> to get something working I will start submitting patches.
> >> Should I submit them to this list or is their an official place to
> >> post them?  I normally submit patches using diff -urN is that correct
> >> for Allegro as well?
> >
> > This is the official place, and unified diffs are correct.
> >
> > Peter
> >
> >
> 
> @ All,
> Anyone got any tips on things I should look for to fix the RETSIGTYPE
> problem that's showing up on Haiku in usigalrm.c? (see
> http://ports.haiku-files.org/wiki/media-libs/allegro/4.3.10/1)
> I'll do some more investigating in the next few days to see what else
> might need patching to get this going on Haiku.

It's in include/allegro/platform/alunixac.hin, selected with `configure'
on traditional Unix.

    /* Define as the return type of signal handlers (`int' or `void'). */
    #undef RETSIGTYPE

But, you probably don't want usigalrm.c anyway.  Instead you should be
using uthreads.c.  Probably you didn't define HAVE_LIBPTHREAD somewhere.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/