Re: Compiling GNU Sharutils on NetBSD

Pádraig Brady <[email protected]> Tue, 14 Apr 2015 11:23:06 +0100
Newsgroups gmane.comp.gnu.utils.bugs,gmane.comp.lib.gnulib.bugs
Message-ID <[email protected]>
On 08/04/15 20:23, Bruce Korb wrote:
> On 04/06/15 11:26, HIRAMATSU Yoshifumi wrote:
>> --- lib/fseeko.c.orig	2015-04-05 22:42:44.000000000 +0900
>> +++ lib/fseeko.c	2015-04-05 22:42:52.000000000 +0900
>> @@ -125,7 +125,7 @@
>>         fp->_flags &= ~_IO_EOF_SEEN;
>>         fp->_offset = pos;
>>   #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */
>> -# if defined __CYGWIN__
>> +# if defined __CYGWIN__ || (defined __NetBSD__ && __NetBSD_Version__ >= 600000000)
>>         /* fp_->_offset is typed as an integer.  */
>>         fp_->_offset = pos;
>>   # else
> 
>> $ grep -E $'^[ \t]*.*NetBSD' lib/fseeko.c
> 
> Please let me know when this has been patched so I can re-roll sharutils.  Thanks.

Pushed at http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=f2c88dc