diff options
Diffstat (limited to 'app-cdr/cdrkit/files/cdrkit-readom-clone.patch')
-rw-r--r-- | app-cdr/cdrkit/files/cdrkit-readom-clone.patch | 39 |
1 files changed, 39 insertions, 0 deletions
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; + |