summaryrefslogtreecommitdiff
path: root/recipes/dvd+rw-tools/files/03-growisofs-dvd-dl.dpatch
blob: 3039a9fcd13b3295561c051875518582f00a0969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh /usr/share/dpatch/dpatch-run
## 03-growisofs-dvd-dl.dpatch by <joeshaw@suse.de>
##
## DP: Don't abort when a DVD-DL disk is underful (Closes: #340698).

@DPATCH@

diff -Naurp dvd+rw-tools-7.1.orig/growisofs_mmc.cpp dvd+rw-tools-7.1/growisofs_mmc.cpp
--- dvd+rw-tools-7.1.orig/growisofs_mmc.cpp	2008-04-01 09:01:20.000000000 +0000
+++ dvd+rw-tools-7.1/growisofs_mmc.cpp	2008-04-01 09:02:59.000000000 +0000
@@ -1640,9 +1640,7 @@ static void plus_r_dl_split (Scsi_Comman
     blocks += 15, blocks &= ~15;
 
     if (blocks <= split)
-	fprintf (stderr,":-( more than 50%% of space will be *wasted*!\n"
-			"    use single layer media for this recording\n"),
-	exit (FATAL_START(EMEDIUMTYPE));
+	fprintf (stderr,":-? more than 50%% of space will be *wasted*!\n");
 
     blocks /= 16;
     blocks += 1;