Re: [PATCH] install openbsd6.h header

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
On 05/11/18 13:33, Stuart Henderson wrote:
> Missed from when support was added to recognise OpenBSD 6.0+ in 367c44eb60.
> I couldn't see any file that Makefile.in is generated from, so just patching
> it directly, hope that's right:
> 
> 
>  From 47c3f2e69fc5f73dd9ca1ca1eeaca648f1bc3608 Mon Sep 17 00:00:00 2001
> From: Stuart Henderson <[email protected]>
> Date: Fri, 11 May 2018 21:25:37 +0100
> Subject: [PATCH] install openbsd6.h header
> 
> ---
>   Makefile.in | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile.in b/Makefile.in
> index 428af687f..20debdccf 100644
> --- a/Makefile.in
> +++ b/Makefile.in
> @@ -25,7 +25,7 @@ INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \
>   	freebsd12.h freebsd.h \
>           generic.h \
>   	hpux.h irix.h linux.h mingw32.h mips.h netbsd.h osf5.h \
> -	openbsd.h openbsd5.h openbsd4.h \
> +	openbsd.h openbsd6.h openbsd5.h openbsd4.h \
>   	solaris2.3.h solaris2.4.h solaris2.5.h solaris2.6.h \
>   	solaris.h sunos.h svr5.h sysv.h ultrix4.h
>   INCLUDESUBDIR2=machine

I think there are more files that are missing from
INCLUDESUBDIRHEADERS:

$ for f in $(cd include/net-snmp/system && echo *); do
     grep -qw $f Makefile.in || echo $f; done
darwin15.h
darwin16.h
darwin17.h
kfreebsd.h
mingw32msvc.h
nto-qnx6.h
openbsd6.h

Bart.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.