diff options
author | Alin Năstac <mrness@gentoo.org> | 2009-06-20 10:15:09 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2009-06-20 10:15:09 +0000 |
commit | 74806ebf8c970c25676c93f757c1987e46a08bdf (patch) | |
tree | f39ce04480f1084fc725e0cea711bd70d147c23b /net-dialup | |
parent | Add ~amd64 keyword. Migrate to EAPI 2. (diff) | |
download | gentoo-2-74806ebf8c970c25676c93f757c1987e46a08bdf.tar.gz gentoo-2-74806ebf8c970c25676c93f757c1987e46a08bdf.tar.bz2 gentoo-2-74806ebf8c970c25676c93f757c1987e46a08bdf.zip |
Fix compilation error related to glibc-2.10 (#272268).
Add ~amd64 keyword. Migrate to EAPI 2.
(Portage version: 2.1.6.13/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/gcdial/ChangeLog | 12 | ||||
-rw-r--r-- | net-dialup/gcdial/files/gcdial-0.7b-getline.patch | 39 | ||||
-rw-r--r-- | net-dialup/gcdial/gcdial-0.7b-r1.ebuild (renamed from net-dialup/gcdial/gcdial-0.7b.ebuild) | 15 |
3 files changed, 58 insertions, 8 deletions
diff --git a/net-dialup/gcdial/ChangeLog b/net-dialup/gcdial/ChangeLog index ff61a3f09545..ac70f868aa0e 100644 --- a/net-dialup/gcdial/ChangeLog +++ b/net-dialup/gcdial/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-dialup/gcdial -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/gcdial/ChangeLog,v 1.6 2006/03/12 12:04:59 mrness Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/gcdial/ChangeLog,v 1.7 2009/06/20 10:15:08 mrness Exp $ + +*gcdial-0.7b-r1 (20 Jun 2009) + + 20 Jun 2009; Alin Năstac <mrness@gentoo.org> + +files/gcdial-0.7b-getline.patch, -gcdial-0.7b.ebuild, + +gcdial-0.7b-r1.ebuild: + Fix compilation error related to glibc-2.10 (#272268). Add ~amd64 keyword. + Migrate to EAPI 2. 12 Mar 2006; Alin Nastac <mrness@gentoo.org> gcdial-0.7b.ebuild: Remove virtual/libc dependency. diff --git a/net-dialup/gcdial/files/gcdial-0.7b-getline.patch b/net-dialup/gcdial/files/gcdial-0.7b-getline.patch new file mode 100644 index 000000000000..0c563da4b69a --- /dev/null +++ b/net-dialup/gcdial/files/gcdial-0.7b-getline.patch @@ -0,0 +1,39 @@ +diff -Nru gcdial-0.7b.orig/src/rcfile.c gcdial-0.7b/src/rcfile.c +--- gcdial-0.7b.orig/src/rcfile.c 2000-04-16 12:44:22.000000000 +0200 ++++ gcdial-0.7b/src/rcfile.c 2009-06-20 11:55:50.000000000 +0200 +@@ -19,7 +19,7 @@ + + static int get_settings(FILE *fp, char **server, char **port, char **username, + char **password); +-static int getline(FILE *fp, char **argument); ++static int my_getline(FILE *fp, char **argument); + static int getline_keyword(const char *buf); + static int check_rcfile_perms(void); + +@@ -99,7 +99,7 @@ + int line = 0; + int error = 0; + +- if (RC_FATAL==(ret = getline(fp, &arg))) ++ if (RC_FATAL==(ret = my_getline(fp, &arg))) + return -1; + while (ret!=RC_EOF) { + ++line; +@@ -147,7 +147,7 @@ + break; + } /* switch(ret) */ + } /* arg !NULL */ +- if (RC_FATAL==(ret = getline(fp, &arg))) ++ if (RC_FATAL==(ret = my_getline(fp, &arg))) + return -1; + } /* while(ret!=RC_EOF) */ + if (error) +@@ -155,7 +155,7 @@ + return 0; + } + +-int getline(FILE *fp, char **argument) ++int my_getline(FILE *fp, char **argument) + { + char *buf; + int com_len; diff --git a/net-dialup/gcdial/gcdial-0.7b.ebuild b/net-dialup/gcdial/gcdial-0.7b-r1.ebuild index a2fe2c7fd642..f36321d90a61 100644 --- a/net-dialup/gcdial/gcdial-0.7b.ebuild +++ b/net-dialup/gcdial/gcdial-0.7b-r1.ebuild @@ -1,6 +1,10 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/gcdial/gcdial-0.7b.ebuild,v 1.7 2006/03/12 12:04:59 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/gcdial/gcdial-0.7b-r1.ebuild,v 1.1 2009/06/20 10:15:08 mrness Exp $ + +EAPI="2" + +inherit eutils DESCRIPTION="A simple GTK+ client for DWUN" HOMEPAGE="http://dwun.sourceforge.net/" @@ -8,16 +12,15 @@ SRC_URI="mirror://sourceforge/dwun/${P}.tar.gz" LICENSE="as-is" SLOT="0" -KEYWORDS="x86" +KEYWORDS="~amd64 x86" IUSE="" DEPEND="=x11-libs/gtk+-1.2*" RDEPEND="${DEPEND} net-dialup/dwun" -src_compile() { - econf || die "econf failed." - emake || die "parallel make failed." +src_prepare() { + epatch "${FILESDIR}"/${P}-getline.patch } src_install() { |