with your diff I can't reproduce the issue anymore. In your diff there is a typo : REVSION => REVISION
ok solene@ with proper REVISION variable name and if MAINTAINER is ok Joel Sing writes: > On Wednesday 25 April 2018 15:29:32 Joel Sing wrote: > This appears to resolve the issue: > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/net/torsocks/Makefile,v > retrieving revision 1.11 > diff -u -p -u -p -r1.11 Makefile > --- Makefile 29 Jan 2018 21:44:30 -0000 1.11 > +++ Makefile 25 Apr 2018 09:03:23 -0000 > @@ -3,6 +3,7 @@ > COMMENT = socks proxy for use with tor > > DISTNAME = torsocks-2.2.0 > +REVSION = 0 > > GH_PROJECT = torsocks > GH_ACCOUNT = dgoulet > Index: patches/patch-src_lib_fclose_c > =================================================================== > RCS file: patches/patch-src_lib_fclose_c > diff -N patches/patch-src_lib_fclose_c > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-src_lib_fclose_c 25 Apr 2018 09:03:23 -0000 > @@ -0,0 +1,21 @@ > +$OpenBSD$ > + > +Unbreak funopen usage with libtorsocks - always call the libc fclose > +function, even when fd < 0. > + > +Index: src/lib/fclose.c > +--- src/lib/fclose.c.orig > ++++ src/lib/fclose.c > +@@ -64,11 +64,9 @@ LIBC_FCLOSE_RET_TYPE tsocks_fclose(LIBC_FCLOSE_SIG) > + connection_put_ref(conn); > + } > + > ++error: > + /* Return the original libc fclose. */ > + return tsocks_libc_fclose(fp); > +- > +-error: > +- return -1; > + } > + > + /*
