From 1c24e69ff35b87590f14fc19ec8088cbcf698bdf Mon Sep 17 00:00:00 2001 From: Alin Năstac Date: Sat, 14 Apr 2007 10:33:44 +0000 Subject: Set HOMEPAGE to none available and SRC_URI to Gentoo mirrors. Fix implicit declaration QA warning. (Portage version: 2.1.2.2) --- net-dialup/gnome-ppp/ChangeLog | 9 +++++++-- .../gnome-ppp/files/gnome-ppp-0.3.23-implicit-decl.patch | 11 +++++++++++ net-dialup/gnome-ppp/gnome-ppp-0.3.23.ebuild | 14 ++++++++++---- 3 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 net-dialup/gnome-ppp/files/gnome-ppp-0.3.23-implicit-decl.patch diff --git a/net-dialup/gnome-ppp/ChangeLog b/net-dialup/gnome-ppp/ChangeLog index 8756da259d07..05b30bb1d74c 100644 --- a/net-dialup/gnome-ppp/ChangeLog +++ b/net-dialup/gnome-ppp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dialup/gnome-ppp -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnome-ppp/ChangeLog,v 1.20 2006/04/02 22:11:52 metalgod Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnome-ppp/ChangeLog,v 1.21 2007/04/14 10:33:44 mrness Exp $ + + 14 Apr 2007; Alin Năstac + +files/gnome-ppp-0.3.23-implicit-decl.patch, gnome-ppp-0.3.23.ebuild: + Set HOMEPAGE to none available and SRC_URI to Gentoo mirrors. Fix implicit + declaration QA warning. 02 Apr 2006; Luis Medinas gnome-ppp-0.3.23.ebuild: Added ~amd64 keyword. diff --git a/net-dialup/gnome-ppp/files/gnome-ppp-0.3.23-implicit-decl.patch b/net-dialup/gnome-ppp/files/gnome-ppp-0.3.23-implicit-decl.patch new file mode 100644 index 000000000000..32e77f865c1f --- /dev/null +++ b/net-dialup/gnome-ppp/files/gnome-ppp-0.3.23-implicit-decl.patch @@ -0,0 +1,11 @@ +diff -Nru gnome-ppp-0.3.23.orig/src/gnome-ppp-details.c gnome-ppp-0.3.23/src/gnome-ppp-details.c +--- gnome-ppp-0.3.23.orig/src/gnome-ppp-details.c 2005-05-04 01:26:25.000000000 +0300 ++++ gnome-ppp-0.3.23/src/gnome-ppp-details.c 2007-04-14 13:28:30.000000000 +0300 +@@ -31,6 +31,7 @@ + * Joe Marcus Clarke + */ + ++#include + #include "gnome-ppp.h" + + diff --git a/net-dialup/gnome-ppp/gnome-ppp-0.3.23.ebuild b/net-dialup/gnome-ppp/gnome-ppp-0.3.23.ebuild index 762676bc9418..49d9902c735c 100644 --- a/net-dialup/gnome-ppp/gnome-ppp-0.3.23.ebuild +++ b/net-dialup/gnome-ppp/gnome-ppp-0.3.23.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnome-ppp/gnome-ppp-0.3.23.ebuild,v 1.6 2006/09/22 17:45:32 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/gnome-ppp/gnome-ppp-0.3.23.ebuild,v 1.7 2007/04/14 10:33:44 mrness Exp $ inherit gnome2 eutils MAJOR_V=${PV%.[0-9]*} DESCRIPTION="A GNOME 2 WvDial frontend" -HOMEPAGE="http://www.icmreza.co.yu/blogs/vladecks/en/?page_id=4" -SRC_URI="http://www.icmreza.co.yu/blogs/vladecks/wp-content/projects/gnome-ppp/download/${MAJOR_V}/${P}.tar.bz2" +HOMEPAGE="None available" +SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" @@ -26,6 +26,12 @@ DEPEND="sys-devel/gettext USE_DESTDIR="1" DOCS="ChangeLog" +src_unpack() { + unpack ${A} + + epatch "${FILESDIR}"/${P}-implicit-decl.patch +} + src_install() { gnome2_src_install top_builddir="${S}" } -- cgit v1.2.3-65-gdbad