Brian Callahan <bcal...@protonmail.com> writes: > Hi ports -- > > This diff fixes gophernicus with -fno-common. > I didn't update it since upstream has a new and broken build process. > Also drop myself as maintainer. > > OK?
The patch reads OK but I don't understand why these would get declared given the statement that we don't have libwrap? > > ~Brian > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/net/gophernicus/Makefile,v > retrieving revision 1.19 > diff -u -p -r1.19 Makefile > --- Makefile 6 Feb 2020 18:06:10 -0000 1.19 > +++ Makefile 10 Feb 2021 01:57:11 -0000 > @@ -1,6 +1,7 @@ > # $OpenBSD: Makefile,v 1.19 2020/02/06 18:06:10 edd Exp $ > > COMMENT= modern gopher server > +REVISION = 0 > > GH_ACCOUNT= gophernicus > GH_PROJECT= gophernicus > @@ -9,8 +10,6 @@ GH_TAGNAME= v3.0.1 > CATEGORIES= net > > HOMEPAGE= gopher://gophernicus.org/ > - > -MAINTAINER = Brian Callahan <bcal...@openbsd.org> > > # BSD > PERMIT_PACKAGE= Yes > Index: patches/patch-gophernicus_c > =================================================================== > RCS file: patches/patch-gophernicus_c > diff -N patches/patch-gophernicus_c > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-gophernicus_c 10 Feb 2021 01:57:11 -0000 > @@ -0,0 +1,16 @@ > +$OpenBSD$ > + > +We don't have libwrap, and these cause issues with -fno-common > + > +Index: gophernicus.c > +--- gophernicus.c.orig > ++++ gophernicus.c > +@@ -30,8 +30,6 @@ > + * Libwrap needs these defined > + */ > + #ifdef HAVE_LIBWRAP > +-int allow_severity = LOG_DEBUG; > +-int deny_severity = LOG_ERR; > + #endif > + > +