diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-02-09 20:24:39 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-02-09 20:24:39 +0000 |
commit | c2b83b5813324f37a82d90986fcc524cd46cda67 (patch) | |
tree | 3b6a93880f0f5de01a1ac0154caba97e640899a0 /net-dialup/linux-atm | |
parent | New package for cdiff. Contributed by Jan Matějka. Fixed bug #455624. (diff) | |
download | gentoo-2-c2b83b5813324f37a82d90986fcc524cd46cda67.tar.gz gentoo-2-c2b83b5813324f37a82d90986fcc524cd46cda67.tar.bz2 gentoo-2-c2b83b5813324f37a82d90986fcc524cd46cda67.zip |
Version bump, wrt bug #302591
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-dialup/linux-atm')
-rw-r--r-- | net-dialup/linux-atm/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/linux-atm/files/linux-atm-2.5.2-headers.patch | 30 | ||||
-rw-r--r-- | net-dialup/linux-atm/linux-atm-2.5.2.ebuild | 46 |
3 files changed, 83 insertions, 1 deletions
diff --git a/net-dialup/linux-atm/ChangeLog b/net-dialup/linux-atm/ChangeLog index 80bf7f7400a2..c9f4ac8a9288 100644 --- a/net-dialup/linux-atm/ChangeLog +++ b/net-dialup/linux-atm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dialup/linux-atm # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/ChangeLog,v 1.42 2013/02/09 19:51:57 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/ChangeLog,v 1.43 2013/02/09 20:24:39 pinkbyte Exp $ + +*linux-atm-2.5.2 (09 Feb 2013) + + 09 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> +linux-atm-2.5.2.ebuild, + +files/linux-atm-2.5.2-headers.patch: + Version bump, wrt bug #302591 09 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> linux-atm-2.5.0.ebuild: Add missing dependency on virtual/yacc, wrt bug #390649. Thanks to Nikoli diff --git a/net-dialup/linux-atm/files/linux-atm-2.5.2-headers.patch b/net-dialup/linux-atm/files/linux-atm-2.5.2-headers.patch new file mode 100644 index 000000000000..edfb38d68b7b --- /dev/null +++ b/net-dialup/linux-atm/files/linux-atm-2.5.2-headers.patch @@ -0,0 +1,30 @@ +--- linux-atm/src/maint/hediag.c.orig ++++ linux-atm/src/maint/hediag.c +@@ -1,5 +1,6 @@ + #include <stdio.h> + #include <stdlib.h> ++#include <string.h> + #include <unistd.h> + #include <sys/ioctl.h> + #include <sys/types.h> +--- linux-atm/src/qgen/ql_y.y ++++ linux-atm/src/qgen/ql_y.y +@@ -17,6 +17,8 @@ + static STRUCTURE *structures = NULL; + static const char *abort_id; /* indicates abort flag */ + ++void yyerror(const char *s); ++int yylex ( void ); + + static NAME_LIST *get_name_list(const char *name) + { +--- linux-atm/src/test/ispl_y.y ++++ linux-atm/src/test/ispl_y.y +@@ -16,6 +16,7 @@ + + static struct atmsvc_msg msg; + ++int yylex ( void ); + + %} + diff --git a/net-dialup/linux-atm/linux-atm-2.5.2.ebuild b/net-dialup/linux-atm/linux-atm-2.5.2.ebuild new file mode 100644 index 000000000000..972fc33ab05c --- /dev/null +++ b/net-dialup/linux-atm/linux-atm-2.5.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/linux-atm-2.5.2.ebuild,v 1.1 2013/02/09 20:24:39 pinkbyte Exp $ + +EAPI=5 + +inherit eutils flag-o-matic libtool linux-info + +DESCRIPTION="Tools for ATM" +HOMEPAGE="http://linux-atm.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="static-libs" + +RDEPEND="" +DEPEND="virtual/yacc" + +RESTRICT="test" + +DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS ) + +CONFIG_CHECK="~ATM" + +src_prepare() { + epatch "${FILESDIR}"/${P}-headers.patch + + sed -i '/#define _LINUX_NETDEVICE_H/d' \ + src/arpd/*.c || die "sed command on arpd/*.c files failed" + + elibtoolize +} + +src_configure() { + append-flags -fno-strict-aliasing + + econf $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files + dodoc doc/README* doc/atm* +} |