diff options
author | Will Woods <wwoods@gentoo.org> | 2002-11-22 20:18:26 +0000 |
---|---|---|
committer | Will Woods <wwoods@gentoo.org> | 2002-11-22 20:18:26 +0000 |
commit | da3442cce6434cb855e8f1454b04df7f8f97705d (patch) | |
tree | ea03b5d2410f2a09843f6aa5e44b8dc70c3dacf3 /net-misc | |
parent | fix bug 6562 - install a default kghostviewrc (diff) | |
download | historical-da3442cce6434cb855e8f1454b04df7f8f97705d.tar.gz historical-da3442cce6434cb855e8f1454b04df7f8f97705d.tar.bz2 historical-da3442cce6434cb855e8f1454b04df7f8f97705d.zip |
workaround for compiler bug on alpha
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/openssh/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/openssh/files/openssh-3.5_p1-gentoo-sshd-gcc3.patch | 10 | ||||
-rw-r--r-- | net-misc/openssh/openssh-3.5_p1.ebuild | 8 |
3 files changed, 21 insertions, 2 deletions
diff --git a/net-misc/openssh/ChangeLog b/net-misc/openssh/ChangeLog index 1ddd92f14796..96280801a3d2 100644 --- a/net-misc/openssh/ChangeLog +++ b/net-misc/openssh/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/openssh # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/ChangeLog,v 1.19 2002/10/23 14:49:21 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/ChangeLog,v 1.20 2002/11/22 20:18:26 wwoods Exp $ + + 22 Nov 2002; Will Woods <wwoods@gentoo.org> openssh-3.5_p1.ebuild: + Added patch to fix compile problem on alpha. 23 Oct 2002; Maik Schreiber <blizzy@gentoo.org> openssh-3.5_p1.ebuild: Changed "~x86" to "x86" in KEYWORDS. diff --git a/net-misc/openssh/files/openssh-3.5_p1-gentoo-sshd-gcc3.patch b/net-misc/openssh/files/openssh-3.5_p1-gentoo-sshd-gcc3.patch new file mode 100644 index 000000000000..70787b4ca39a --- /dev/null +++ b/net-misc/openssh/files/openssh-3.5_p1-gentoo-sshd-gcc3.patch @@ -0,0 +1,10 @@ +--- sshd.c.orig 2002-11-21 15:42:45.000000000 -0500 ++++ sshd.c 2002-11-21 15:43:42.000000000 -0500 +@@ -994,6 +994,7 @@ + sensitive_data.have_ssh1_key = 1; + break; + case KEY_RSA: ++ i=i+0; /* gcc3.2 drops these 2 cases without this */ + case KEY_DSA: + sensitive_data.have_ssh2_key = 1; + break; diff --git a/net-misc/openssh/openssh-3.5_p1.ebuild b/net-misc/openssh/openssh-3.5_p1.ebuild index 5c16bdfa70b4..ee75004d7b36 100644 --- a/net-misc/openssh/openssh-3.5_p1.ebuild +++ b/net-misc/openssh/openssh-3.5_p1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-3.5_p1.ebuild,v 1.2 2002/10/23 14:49:21 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-3.5_p1.ebuild,v 1.3 2002/11/22 20:18:26 wwoods Exp $ IUSE="ipv6 static pam tcpd" @@ -29,6 +29,12 @@ SLOT="0" LICENSE="as-is" KEYWORDS="x86 ~ppc ~sparc ~sparc64 ~alpha" +src_unpack() { + unpack ${A} + cd ${S} + use alpha && patch < ${FILESDIR}/openssh-3.5_p1-gentoo-sshd-gcc3.patch || die +} + src_compile() { local myconf use tcpd || myconf="${myconf} --without-tcp-wrappers" |