tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bootstrap pkgsrc on FreeMiNT 1.18.0 (EasyMiNT 1.83)



From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>, Date: Sun, 25 Aug 
2013 13:28:50 +0200

> On Sun, Aug 25, 2013 at 04:06:36PM +0900, Ryo ONODERA wrote:
>> Index: files/util.c
>> ===================================================================
>> RCS file: /cvsroot/pkgsrc/devel/bmake/files/util.c,v
>> retrieving revision 1.10
>> diff -u -r1.10 util.c
>> --- files/util.c     18 Jun 2011 22:39:46 -0000      1.10
>> +++ files/util.c     25 Aug 2013 06:36:11 -0000
>> @@ -6,6 +6,10 @@
>>   *  $Id: util.c,v 1.10 2011/06/18 22:39:46 bsiegert Exp $
>>   */
>>  
>> +/* workaround for EasyMiNT 1.70 and 1.83 */
>> +#if defined(__MINT__)
>> +#include <signal.h>
>> +#endif
>>  #include "make.h"
>>  
>>  #ifndef MAKE_NATIVE
>> @@ -18,7 +22,10 @@
>>  
>>  #include <errno.h>
>>  #include <time.h>
>> +/* workaround for EasyMiNT 1.70 and 1.83 */
>> +#if !defined(__MINT__)
>>  #include <signal.h>
>> +#endif
> 
> Workaround for what?

This fixes following error. I do not know why.
It may related to unit-tests failure?

/usr/include/signal.h:264: parse error before `)'

264th line of signal.h is following.

__EXTERN void sigreturn __P ((struct sigcontext* __unused));

Thank you.

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index