pkgsrc-WIP-changes archive

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

torsocks: gethostbyaddr() adjustements are no more needed



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Tue Jan 30 21:17:29 2018 +0100
Changeset:	d72829304f455899ce185e13a192b622eeb0bbb9

Modified Files:
	torsocks/Makefile

Log Message:
torsocks: gethostbyaddr() adjustements are no more needed

The logic was applied by upstream in the meantime, get rid of `lib'
SUBST class is no more needed.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d72829304f455899ce185e13a192b622eeb0bbb9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 torsocks/Makefile | 14 --------------
 1 file changed, 14 deletions(-)

diffs:
diff --git a/torsocks/Makefile b/torsocks/Makefile
index 6da20548b3..952ea4afa7 100644
--- a/torsocks/Makefile
+++ b/torsocks/Makefile
@@ -46,20 +46,6 @@ SUBST_SED.conffile=		-e '/DEFAULT_CONF_FILE/ s;"/tor/";"/";'
 
 .include "../../mk/bsd.prefs.mk"
 
-# XXX: gethostbyaddr(3) in NetBSD < 7.0 prototype is:
-# XXX:     struct hostent *
-# XXX:     gethostbyaddr(const char *addr, socklen_t len, int type);
-# XXX: torsocks and The Open Group expects:
-# XXX:     struct hostent *
-# XXX:     gethostbyaddr(const void *addr, socklen_t len, int type);
-.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[0-6].*)
-SUBST_CLASSES+=		lib
-SUBST_STAGE.lib=	pre-configure
-SUBST_MESSAGE.lib=	Fixing gethostbyaddr() prototype
-SUBST_FILES.lib=	src/lib/torsocks.h
-SUBST_SED.lib=		-e '/LIBC_GETHOSTBYADDR_SIG/ s/const void \*addr/const char *addr/'
-.endif
-
 TEST_TARGET=	check
 
 post-install:


Home | Main Index | Thread Index | Old Index