torsdag den 16 juni 2011 klockan 13:14 skrev Simon Josefsson detta:
> Mats Erik Andersson <[email protected]> writes:
> 
> > Dear all,
> >
> > we have clearly no support for OpenSolaris in our project.
> > Since two weeks back I have a system running NexentaCore,
> > providing me with some services, and more importantly,
> > a test bed for portability!
> >
> > Already compiling 'libinetutils' leads to a failure.
> > The problem is that 'libinetutils/setsig.c' tacitly
> > assumes the presence of
> >
> >    typedef sig_t;
> >
> > This does not apply to OpenSolaris:
> >
> >    /* config.h */
> >
> >    /* #undef HAVE_SIG_T */
> 
> Glibc uses 'sighandler_t' for this, and gnulib should make sure it is
> available.  I've checked in a fix for this, please test!

You must revert this, since you just broke the compilation in OpenBSD:

    CC    setsig.o
  setsig.c:31: error: syntax error before "setsig"
  setsig.c:31: error: syntax error before "sighandler_t"
  setsig.c:32: warning: return type defaults to 'int'
  setsig.c:39: error: 'handler' undeclared (first use in this function)
  setsig.c:40: error: 'sig' undeclared (first use in this function)
  setsig.c:41: warning: return makes integer from pointer without a cast

Reply via email to