diff options
author | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2008-07-26 20:26:13 +0000 |
---|---|---|
committer | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2008-07-26 20:26:13 +0000 |
commit | c47985727fb8ab3b68b3f2e4c51c1788fbf8ec4c (patch) | |
tree | 2093c772ca0be9edc0720e1dfad79cda013b5310 /net-misc/knock | |
parent | Stable on amd64, bug #232054 (diff) | |
download | gentoo-2-c47985727fb8ab3b68b3f2e4c51c1788fbf8ec4c.tar.gz gentoo-2-c47985727fb8ab3b68b3f2e4c51c1788fbf8ec4c.tar.bz2 gentoo-2-c47985727fb8ab3b68b3f2e4c51c1788fbf8ec4c.zip |
gcc 4.3 compile fix from Christian Ruppert (bug #232966)
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc/knock')
-rw-r--r-- | net-misc/knock/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/knock/files/knock-0.5-gcc-4.3.patch | 10 | ||||
-rw-r--r-- | net-misc/knock/knock-0.5.ebuild | 16 |
3 files changed, 27 insertions, 7 deletions
diff --git a/net-misc/knock/ChangeLog b/net-misc/knock/ChangeLog index d7248daf41ba..af7bd8825d57 100644 --- a/net-misc/knock/ChangeLog +++ b/net-misc/knock/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/knock -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/ChangeLog,v 1.33 2007/12/27 12:23:07 armin76 Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/ChangeLog,v 1.34 2008/07/26 20:26:13 wormo Exp $ + + 26 Jul 2008; <sjl@gentoo.org> +files/knock-0.5-gcc-4.3.patch, + knock-0.5.ebuild: + gcc 4.3 compile fix from Christian Ruppert (bug #232966) 27 Dec 2007; Raúl Porcel <armin76@gentoo.org> -knock-0.3.ebuild, -knock-0.3.1.ebuild, -knock-0.4.ebuild, knock-0.5.ebuild: diff --git a/net-misc/knock/files/knock-0.5-gcc-4.3.patch b/net-misc/knock/files/knock-0.5-gcc-4.3.patch new file mode 100644 index 000000000000..533b96226f16 --- /dev/null +++ b/net-misc/knock/files/knock-0.5-gcc-4.3.patch @@ -0,0 +1,10 @@ +--- knock-0.5.old/src/knockd.c 2005-06-27 07:11:34.000000000 +0200 ++++ knock-0.5/src/knockd.c 2008-07-25 22:38:08.000000000 +0200 +@@ -19,6 +19,7 @@ + * USA. + */ + ++#include <limits.h> + #include <stdio.h> + #include <stdlib.h> + #include <stdarg.h> diff --git a/net-misc/knock/knock-0.5.ebuild b/net-misc/knock/knock-0.5.ebuild index 1afe6867b0b2..281c2aca40fd 100644 --- a/net-misc/knock/knock-0.5.ebuild +++ b/net-misc/knock/knock-0.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.5.ebuild,v 1.10 2007/12/27 12:23:07 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.5.ebuild,v 1.11 2008/07/26 20:26:13 wormo Exp $ inherit eutils @@ -20,14 +20,20 @@ DEPEND="net-libs/libpcap" RDEPEND="net-firewall/iptables ${DEPEND}" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc-4.3.patch +} + src_install() { - make DESTDIR=${D} install || die "make install failed" + make DESTDIR="${D}" install || die "make install failed" dodoc README dodoc ChangeLog dodoc TODO dosed "s:/usr/sbin/iptables:/sbin/iptables:g" /etc/knockd.conf - newinitd ${FILESDIR}/knockd.initd knock - newconfd ${FILESDIR}/knockd.confd knock + newinitd "${FILESDIR}"/knockd.initd knock + newconfd "${FILESDIR}"/knockd.confd knock } |