diff options
author | Lars Weiler <pylon@gentoo.org> | 2007-04-10 14:10:02 +0000 |
---|---|---|
committer | Lars Weiler <pylon@gentoo.org> | 2007-04-10 14:10:02 +0000 |
commit | 3b54216361f9dce354f6bcebdde1263d3e7671c1 (patch) | |
tree | 20cc4c1e4d909a59f118c3e0390267e280562dc1 /app-cdr/cdrkit | |
parent | Stable on sparc wrt #173882 (diff) | |
download | gentoo-2-3b54216361f9dce354f6bcebdde1263d3e7671c1.tar.gz gentoo-2-3b54216361f9dce354f6bcebdde1263d3e7671c1.tar.bz2 gentoo-2-3b54216361f9dce354f6bcebdde1263d3e7671c1.zip |
Added patch for uclibc. The patch is already included upstream and fixed in
the upcoming cdrkit-1.1.5.
(Portage version: 2.1.2.3)
Diffstat (limited to 'app-cdr/cdrkit')
-rw-r--r-- | app-cdr/cdrkit/ChangeLog | 7 | ||||
-rw-r--r-- | app-cdr/cdrkit/cdrkit-1.1.4.ebuild | 9 | ||||
-rw-r--r-- | app-cdr/cdrkit/files/cdrkit-readom-clone.patch | 39 |
3 files changed, 53 insertions, 2 deletions
diff --git a/app-cdr/cdrkit/ChangeLog b/app-cdr/cdrkit/ChangeLog index e28f41128622..1d3f6cc2bc64 100644 --- a/app-cdr/cdrkit/ChangeLog +++ b/app-cdr/cdrkit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-cdr/cdrkit # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrkit/ChangeLog,v 1.30 2007/04/01 21:47:47 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrkit/ChangeLog,v 1.31 2007/04/10 14:10:02 pylon Exp $ + + 10 Apr 2007; Lars Weiler <pylon@gentoo.org> + +files/cdrkit-readom-clone.patch, cdrkit-1.1.4.ebuild: + Added patch for uclibc. The patch is already included upstream and fixed in + the upcoming cdrkit-1.1.5. *cdrkit-1.1.4 (01 Apr 2007) diff --git a/app-cdr/cdrkit/cdrkit-1.1.4.ebuild b/app-cdr/cdrkit/cdrkit-1.1.4.ebuild index 68ba98cf916e..88b13c852525 100644 --- a/app-cdr/cdrkit/cdrkit-1.1.4.ebuild +++ b/app-cdr/cdrkit/cdrkit-1.1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrkit/cdrkit-1.1.4.ebuild,v 1.1 2007/04/01 21:47:47 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrkit/cdrkit-1.1.4.ebuild,v 1.2 2007/04/10 14:10:02 pylon Exp $ inherit eutils toolchain-funcs @@ -22,6 +22,13 @@ RDEPEND="unicode? ( virtual/libiconv )" PROVIDE="virtual/cdrtools" +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/cdrkit-readom-clone.patch +} + src_compile() { cmake \ -DCMAKE_C_COMPILER=$(type -P $(tc-getCC)) \ diff --git a/app-cdr/cdrkit/files/cdrkit-readom-clone.patch b/app-cdr/cdrkit/files/cdrkit-readom-clone.patch new file mode 100644 index 000000000000..7bd3272a936b --- /dev/null +++ b/app-cdr/cdrkit/files/cdrkit-readom-clone.patch @@ -0,0 +1,39 @@ +--- cdrkit-1.1.4/readom/readom.c.orig 2007-04-02 07:09:55 +0000 ++++ cdrkit-1.1.4/readom/readom.c 2007-04-02 07:16:16 +0000 +@@ -203,7 +203,7 @@ + BOOL do_write; + BOOL c2scan; + BOOL fulltoc; +-BOOL clone; ++BOOL clonemode; + BOOL noerror; + BOOL nocorr; + BOOL notrunc; +@@ -300,7 +300,7 @@ + &help, &help, &pversion, + &scanbus, &dev, §ors, &do_write, + &c2scan, +- &fulltoc, &clone, ++ &fulltoc, &clonemode, + &noerror, &nocorr, + ¬runc, &retries, &do_factor, &filename, + &speed, getnum, &Sbufsize, +@@ -535,7 +535,7 @@ + comerrno(EX_BAD, "Not root. Will only work on CD-ROM in suid/priv mode\n"); + } + +- if (filename || sectors || c2scan || meshpoints || fulltoc || clone) { ++ if (filename || sectors || c2scan || meshpoints || fulltoc || clonemode) { + dorw(usalp, filename, sectors); + } else { + doit(usalp); +@@ -687,7 +687,7 @@ + if (params.name == NULL) + params.name = "/dev/null"; + read_ftoc(usalp, ¶ms, FALSE); +- } else if (clone) { ++ } else if (clonemode) { + if (!is_mmc(usalp, NULL, NULL)) + comerrno(EX_BAD, "Unsupported device for clone mode.\n"); + noerror = TRUE; + |