diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-07-15 21:24:02 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-07-15 21:24:02 +0000 |
commit | 57ef99835b19825f705c04d386fb6bdff8c2d176 (patch) | |
tree | 03c9f6af3ef732f0271bfb76d1b54713e2e3aa3c /net-misc/udpcast | |
parent | Remove vulnerable versions (diff) | |
download | gentoo-2-57ef99835b19825f705c04d386fb6bdff8c2d176.tar.gz gentoo-2-57ef99835b19825f705c04d386fb6bdff8c2d176.tar.bz2 gentoo-2-57ef99835b19825f705c04d386fb6bdff8c2d176.zip |
Fix building with sys-libs/glibc-2.17 (bug #449872).
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-misc/udpcast')
-rw-r--r-- | net-misc/udpcast/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/udpcast/files/udpcast-20120424-fd_set.patch | 11 | ||||
-rw-r--r-- | net-misc/udpcast/udpcast-20120424.ebuild | 10 |
3 files changed, 23 insertions, 6 deletions
diff --git a/net-misc/udpcast/ChangeLog b/net-misc/udpcast/ChangeLog index a68abe0a4739..1a4b8d377aee 100644 --- a/net-misc/udpcast/ChangeLog +++ b/net-misc/udpcast/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/udpcast -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/udpcast/ChangeLog,v 1.25 2012/10/08 12:03:04 jer Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/udpcast/ChangeLog,v 1.26 2013/07/15 21:24:02 jer Exp $ + + 15 Jul 2013; Jeroen Roovers <jer@gentoo.org> udpcast-20120424.ebuild, + +files/udpcast-20120424-fd_set.patch: + Fix building with sys-libs/glibc-2.17 (bug #449872). *udpcast-20120424 (08 Oct 2012) diff --git a/net-misc/udpcast/files/udpcast-20120424-fd_set.patch b/net-misc/udpcast/files/udpcast-20120424-fd_set.patch new file mode 100644 index 000000000000..2bd5bd5ce801 --- /dev/null +++ b/net-misc/udpcast/files/udpcast-20120424-fd_set.patch @@ -0,0 +1,11 @@ +--- a/console.h ++++ b/console.h +@@ -6,6 +6,8 @@ + #include <winbase.h> + #endif /* __MINGW32__ */ + ++#include <sys/select.h> ++ + #define prepareConsole udpc_prepareConsole + #define getConsoleFd udpc_getConsoleFd + #define restoreConsole udpc_restoreConsole diff --git a/net-misc/udpcast/udpcast-20120424.ebuild b/net-misc/udpcast/udpcast-20120424.ebuild index 7163e001416f..bce13a0c7f09 100644 --- a/net-misc/udpcast/udpcast-20120424.ebuild +++ b/net-misc/udpcast/udpcast-20120424.ebuild @@ -1,12 +1,13 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/udpcast/udpcast-20120424.ebuild,v 1.1 2012/10/08 12:03:04 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/udpcast/udpcast-20120424.ebuild,v 1.2 2013/07/15 21:24:02 jer Exp $ EAPI=4 +inherit eutils DESCRIPTION="Multicast file transfer tool" -HOMEPAGE="http://udpcast.linux.lu/" -SRC_URI="http://udpcast.linux.lu/download/${P}.tar.bz2" +HOMEPAGE="http://www.udpcast.linux.lu/" +SRC_URI="http://www.udpcast.linux.lu/download/${P}.tar.bz2" LICENSE="GPL-2 BSD" SLOT="0" @@ -16,6 +17,7 @@ IUSE="" DEPEND="dev-lang/perl" src_prepare() { + epatch "${FILESDIR}"/${P}-fd_set.patch sed -i Makefile.in \ -e '/^LDFLAGS +=-s/d' \ -e '/^CFLAGS/s: -O6::g' \ |