Re: [PATCH] install openbsd6.h header

Stuart Henderson <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
On 2018/05/11 13:41, Bart Van Assche wrote:
> 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.

Good point,

From 216f6e4e5c600dc82c27fe67a01bb8f4304d0ddb Mon Sep 17 00:00:00 2001
From: Stuart Henderson <[email protected]>
Date: Fri, 11 May 2018 21:48:22 +0100
Subject: [PATCH] Install missing system header files

---
 Makefile.in | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 428af687f..9dbdde135 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -18,14 +18,15 @@ INSTALLHEADERS=version.h net-snmp-features.h
 INCLUDESUBDIR=system
 INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \
 	darwin.h darwin7.h darwin8.h darwin9.h darwin10.h darwin11.h darwin12.h \
-	darwin13.h darwin14.h \
+	darwin13.h darwin14.h darwin15.h darwin16.h darwin17.h \
 	dragonfly.h dynix.h \
 	freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd6.h \
 	freebsd7.h freebsd8.h freebsd9.h freebsd10.h freebsd11.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 \
+	freebsd12.h freebsd.h kfreebsd.h \
+	generic.h \
+	hpux.h irix.h linux.h mingw32.h mingw32msvc.h mips.h \
+	netbsd.h nto-qnx6.h osf5.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
-- 
2.16.2



------------------------------------------------------------------------------
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.