pkgsrc-Users archive

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

Re: net/ntp4 build failure on Debian Stretch [PATCH]



"Sijmen J. Mulder" <ik%sjmulder.nl@localhost> wrote:
> Ottavio Caruso wrote:
> > # uname -a
> > Linux e130 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64 
> > GNU/Linux
> > 
> > pkgsrc-current
> > 
> > net/npt4 "bmake build" fails as follows:
> > [..]
> 
> This was due to not so portable NetBSD patches. Attached a patch that
> fixes the build on Debian 10 (Buster) on which the errors were
> identical. Tested on NetBSD 9 too.
> 
> OK to commit?

Committed with a typo fix (atribute -> attribute), and -0 trick in

  #if __STDC_VERSION__-0 >= 201112L

to guard against __STDC_VERSION__ as suggested by leot@.

Sijmen


Home | Main Index | Thread Index | Old Index