diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-02-08 15:42:00 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-02-08 15:42:00 +0000 |
commit | df7199ca28ea8167f54de361856a46f9381df3b3 (patch) | |
tree | 6ac72130b0a8d98fc39ef48ba408d80dc8a670bc /app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r1.ebuild | |
parent | amd64/x86 stable, bug #245547 (diff) | |
download | gentoo-2-df7199ca28ea8167f54de361856a46f9381df3b3.tar.gz gentoo-2-df7199ca28ea8167f54de361856a46f9381df3b3.tar.bz2 gentoo-2-df7199ca28ea8167f54de361856a46f9381df3b3.zip |
Fix bug 257360, patch from redhat. Allow dvd-dl media to be burned even when less than 50% of the media is used. Exit with status !=0 when child processes do.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r1.ebuild')
-rw-r--r-- | app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r1.ebuild b/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r1.ebuild new file mode 100644 index 000000000000..5f87655dd6b1 --- /dev/null +++ b/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r1.ebuild,v 1.1 2009/02/08 15:42:00 loki_val Exp $ + +EAPI=2 + +inherit eutils toolchain-funcs + +DESCRIPTION="A set of tools for DVD+RW/-RW drives" +HOMEPAGE="http://fy.chalmers.se/~appro/linux/DVD+RW/" +SRC_URI="http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="" + +RDEPEND="virtual/cdrtools" +DEPEND="${RDEPEND} + sys-devel/m4" + +src_prepare() { + # Linux compiler flags only include -O2 and are incremental + sed -i '/FLAGS/s:-O2::' Makefile.m4 + + # Fix compilation when DFORTIFY_SOURCE=2 + # https://bugs.gentoo.org/257360 + # https://bugzilla.redhat.com/show_bug.cgi?id=426068 + epatch "${FILESDIR}"/${PN}-7.0-wctomb.patch + epatch "${FILESDIR}"/${PN}-7.0-glibc2.6.90.patch + # Allow burning small images on dvd-dl media. + # Patch snatched from Fedora, obviously correct. + epatch "${FILESDIR}"/${PN}-7.0-dvddl.patch + # Exit with non-zero status when child process does. + # https://bugzilla.redhat.com/show_bug.cgi?id=243036 + epatch "${FILESDIR}"/${PN}-7.0-wexit.patch +} + +src_compile() { + emake SHELL=/bin/bash CC=$(tc-getCC) CXX=$(tc-getCXX) || die +} + +src_install() { + emake SHELL=/bin/bash prefix="${D}/usr" install || die + dohtml index.html +} + +pkg_postinst() { + elog "When you run growisofs if you receive:" + elog "unable to anonymously mmap 33554432: Resource temporarily unavailable" + elog "error message please run 'ulimit -l unlimited'" +} |