Gentoo Archives: gentoo-commits

From: "Richard Yao (ryao)" <ryao@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: openssh-6.0_p1-fix-freebsd-compilation.patch
Date: Tue, 29 May 2012 08:35:03
Message-Id: 20120529083446.560BF2004C@flycatcher.gentoo.org
1 ryao 12/05/29 08:34:46
2
3 Added: openssh-6.0_p1-fix-freebsd-compilation.patch
4 Log:
5 Fix build failure on Gentoo FreeBSD 9, written by naota, reviewed by xarthisius, approved by Chainsaw, bug #391011
6
7 (Portage version: 2.1.10.49/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-misc/openssh/files/openssh-6.0_p1-fix-freebsd-compilation.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openssh/files/openssh-6.0_p1-fix-freebsd-compilation.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openssh/files/openssh-6.0_p1-fix-freebsd-compilation.patch?rev=1.1&content-type=text/plain
14
15 Index: openssh-6.0_p1-fix-freebsd-compilation.patch
16 ===================================================================
17 diff --git a/configure.ac b/configure.ac
18 index 2b60300..21b6112 100644
19 --- a/configure.ac
20 +++ b/configure.ac
21 @@ -725,6 +725,10 @@ mips-sony-bsd|mips-sony-newsos4)
22 AC_CHECK_HEADER([net/if_tap.h], ,
23 AC_DEFINE([SSH_TUN_NO_L2], [1], [No layer 2 tunnel support]))
24 AC_DEFINE([BROKEN_GLOB], [1], [FreeBSD glob does not do what we need])
25 + AC_DEFINE([DISABLE_UTMP], [1],
26 + [Define if you don't want to use utmp])
27 + AC_DEFINE([DISABLE_WTMP], [1],
28 + [Define if you don't want to use wtmp])
29 ;;
30 *-*-bsdi*)
31 AC_DEFINE([SETEUID_BREAKS_SETUID])