pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/tcl85 tcl85: Disable false positive detection of ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd3d4c437c80
branches:  trunk
changeset: 341449:dd3d4c437c80
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Wed Oct 02 14:53:41 2019 +0000

description:
tcl85: Disable false positive detection of gethostby*_r/NetBSD

gethostbyaddr_r and gethostbyname_r is an internal libc symbol, not to be
used in 3rd party software.

Proper fix merged upstream:
https://core.tcl-lang.org/tcl/info/16768d65f0

diffstat:

 lang/tcl85/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r e17411663cd7 -r dd3d4c437c80 lang/tcl85/Makefile
--- a/lang/tcl85/Makefile       Wed Oct 02 14:50:47 2019 +0000
+++ b/lang/tcl85/Makefile       Wed Oct 02 14:53:41 2019 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2016/03/03 21:16:46 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3 2019/10/02 14:53:41 kamil Exp $
 
 DISTNAME=      tcl${TCL_VERSION}-src
 PKGNAME=       tcl-${TCL_VERSION}
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=tcl/}
 
@@ -33,6 +34,9 @@
 CONFIGURE_ARGS+=       --enable-64bit
 .endif
 
+CONFIGURE_ARGS.NetBSD+=        ac_cv_func_gethostbyname_r=no
+CONFIGURE_ARGS.NetBSD+=        ac_cv_func_gethostbyaddr_r=no
+
 SUBST_CLASSES+=                tcl-config
 SUBST_STAGE.tcl-config=        post-build
 SUBST_FILES.tcl-config=        unix/tclConfig.sh



Home | Main Index | Thread Index | Old Index