pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/openssh Add explicit IOV_MAX for Interix -- o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/afd665e70ec3
branches:  trunk
changeset: 521794:afd665e70ec3
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Nov 21 17:47:53 2006 +0000

description:
Add explicit IOV_MAX for Interix -- openssh tries to use _XOPEN_IOV_MAX
in an autoarray, but on Interix that is the same as INT_MAX[!].

diffstat:

 security/openssh/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 025bb589d1d4 -r afd665e70ec3 security/openssh/Makefile
--- a/security/openssh/Makefile Tue Nov 21 17:44:53 2006 +0000
+++ b/security/openssh/Makefile Tue Nov 21 17:47:53 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.174 2006/11/08 01:49:22 taca Exp $
+# $NetBSD: Makefile,v 1.175 2006/11/21 17:47:53 tv Exp $
 
 DISTNAME=              openssh-4.5p1
 PKGNAME=               openssh-4.5.1
@@ -45,6 +45,7 @@
 BUILDLINK_PASSTHRU_DIRS+= /usr/local/include/bind /usr/local/lib/bind
 CONFIGURE_ENV+=                ac_cv_func_openpty=no
 CONFIGURE_ENV+=                ac_cv_type_struct_timespec=yes
+CPPFLAGS+=             -DIOV_MAX=16 # default is INT_MAX, way too large
 CPPFLAGS+=             -I/usr/local/include/bind
 LDFLAGS+=              -L/usr/local/lib/bind
 LIBS+=                 -lbind -ldb -lcrypt



Home | Main Index | Thread Index | Old Index