summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-12-19 12:42:48 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-12-19 12:42:48 +0000
commit6b023033cbba877b766f0a7e3e3b443f43a6821c (patch)
treefb0303cc525b9e58f523ca7434b59d686677dbb4 /media-video/vstrip
parentIt requires mlt to be built with sdl support, by Lorenz Quack <don@amberfisha... (diff)
downloadgentoo-2-6b023033cbba877b766f0a7e3e3b443f43a6821c.tar.gz
gentoo-2-6b023033cbba877b766f0a7e3e3b443f43a6821c.tar.bz2
gentoo-2-6b023033cbba877b766f0a7e3e3b443f43a6821c.zip
Fix build with forced asneeded, bug #247916, honour CC and CFLAGS, bug #240848, honour LDFLAGS and keyword ~amd64
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)
Diffstat (limited to 'media-video/vstrip')
-rw-r--r--media-video/vstrip/ChangeLog9
-rw-r--r--media-video/vstrip/files/vstrip-0.8f-gentoo.patch2
-rw-r--r--media-video/vstrip/vstrip-0.8f.ebuild10
3 files changed, 13 insertions, 8 deletions
diff --git a/media-video/vstrip/ChangeLog b/media-video/vstrip/ChangeLog
index 155a63e66490..cbd1be37921e 100644
--- a/media-video/vstrip/ChangeLog
+++ b/media-video/vstrip/ChangeLog
@@ -1,6 +1,11 @@
# 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.5 2007/03/31 19:26:38 drac Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/vstrip/ChangeLog,v 1.6 2008/12/19 12:42:48 aballier Exp $
+
+ 19 Dec 2008; Alexis Ballier <aballier@gentoo.org>
+ files/vstrip-0.8f-gentoo.patch, vstrip-0.8f.ebuild:
+ Fix build with forced asneeded, bug #247916, honour CC and CFLAGS, bug
+ #240848, honour LDFLAGS and keyword ~amd64
31 Mar 2007; Samuli Suominen <drac@gentoo.org>
files/vstrip-0.8f-gentoo.patch, vstrip-0.8f.ebuild:
diff --git a/media-video/vstrip/files/vstrip-0.8f-gentoo.patch b/media-video/vstrip/files/vstrip-0.8f-gentoo.patch
index e157fea1734f..77328b091247 100644
--- a/media-video/vstrip/files/vstrip-0.8f-gentoo.patch
+++ b/media-video/vstrip/files/vstrip-0.8f-gentoo.patch
@@ -16,7 +16,7 @@
-vstrip : file_io.o in_buffer.o main.o parse_ifo.o vstrip.o
- $(CC) -g file_io.o in_buffer.o main.o parse_ifo.o vstrip.o -o vstrip
+vstrip : file_io.o in_buffer.o main.o parse_ifo.o vstrip.o dvd2avi_plugin.o
-+ $(CC) -g -lm file_io.o in_buffer.o main.o parse_ifo.o vstrip.o dvd2avi_plugin.o -o vstrip
++ $(CC) $(LDFLAGS) file_io.o in_buffer.o main.o parse_ifo.o vstrip.o dvd2avi_plugin.o -o vstrip -lm
file_io.o : s_types.h file_io.h file_io.c
in_buffer.o : s_types.h file_io.h in_buffer.h in_buffer.c
main.o : s_types.h file_io.h vstrip.h main.c
diff --git a/media-video/vstrip/vstrip-0.8f.ebuild b/media-video/vstrip/vstrip-0.8f.ebuild
index 4fae0f08329f..d97f5d86f9d2 100644
--- a/media-video/vstrip/vstrip-0.8f.ebuild
+++ b/media-video/vstrip/vstrip-0.8f.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 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.5 2007/06/26 02:19:55 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vstrip/vstrip-0.8f.ebuild,v 1.6 2008/12/19 12:42:48 aballier Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="A program to split non-css dvd vobs into individual chapters"
HOMEPAGE="http://www.maven.de/code"
@@ -10,7 +10,7 @@ SRC_URI="http://files.digital-digest.com/downloads/files/encode/vStrip_${PV/./}.
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="app-arch/unzip"
@@ -31,7 +31,7 @@ src_unpack() {
}
src_compile() {
- emake || die "emake failed."
+ emake CFLAGS="${CFLAGS} -D__UNIX__" CC="$(tc-getCC)" || die "emake failed."
}
src_install() {