From ad86db7a592f60866c83a31809de48152b201a6f Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Sat, 31 Mar 2007 19:26:38 +0000 Subject: Replace dos2unix with edos2unix for bug 162841 and fix missing asm/io.h. (Portage version: 2.1.2.3) --- media-video/vstrip/ChangeLog | 6 +++++- media-video/vstrip/files/vstrip-0.8f-gentoo.patch | 2 +- media-video/vstrip/vstrip-0.8f.ebuild | 19 +++++++++---------- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/media-video/vstrip/ChangeLog b/media-video/vstrip/ChangeLog index 3c48ddc03e5d..155a63e66490 100644 --- a/media-video/vstrip/ChangeLog +++ b/media-video/vstrip/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/vstrip # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vstrip/ChangeLog,v 1.4 2007/02/03 21:14:30 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vstrip/ChangeLog,v 1.5 2007/03/31 19:26:38 drac Exp $ + + 31 Mar 2007; Samuli Suominen + files/vstrip-0.8f-gentoo.patch, vstrip-0.8f.ebuild: + Change dos2unix to edos2unix and fix include location from patch. 03 Feb 2007; Diego Pettenò ChangeLog: Regenerate digest in Manifest2 format. diff --git a/media-video/vstrip/files/vstrip-0.8f-gentoo.patch b/media-video/vstrip/files/vstrip-0.8f-gentoo.patch index e6551b9dc1e3..e157fea1734f 100644 --- a/media-video/vstrip/files/vstrip-0.8f-gentoo.patch +++ b/media-video/vstrip/files/vstrip-0.8f-gentoo.patch @@ -30,7 +30,7 @@ +#include #include -#include -+#include ++#include #include #include "s_types.h" #include "vstrip.h" diff --git a/media-video/vstrip/vstrip-0.8f.ebuild b/media-video/vstrip/vstrip-0.8f.ebuild index 31ce469f386c..bf73ab98fb40 100644 --- a/media-video/vstrip/vstrip-0.8f.ebuild +++ b/media-video/vstrip/vstrip-0.8f.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/vstrip/vstrip-0.8f.ebuild,v 1.3 2005/09/16 02:36:27 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vstrip/vstrip-0.8f.ebuild,v 1.4 2007/03/31 19:26:38 drac Exp $ inherit eutils @@ -13,28 +13,27 @@ SLOT="0" KEYWORDS="~ppc ~x86" IUSE="" -DEPEND="app-text/dos2unix - app-arch/unzip" +DEPEND="app-arch/unzip" RDEPEND="" -S=${WORKDIR}/${PN} +S="${WORKDIR}/${PN}" src_unpack() { unpack ${A} cd "${S}" - epatch ${FILESDIR}/vstrip-0.8f-gentoo.patch - dos2unix -q -o *.c *.h - + epatch "${FILESDIR}"/${P}-gentoo.patch + edos2unix *.c *.h + for file in *.c *.h ; do echo >>$file done } src_compile() { - emake || die "emake failed" + emake || die "emake failed." } src_install() { - dobin vstrip || die "dobin failed" + dobin vstrip } -- cgit v1.2.3-65-gdbad