summarylogtreecommitdiffstats
path: root/secretsauce.patch
diff options
context:
space:
mode:
Diffstat (limited to 'secretsauce.patch')
-rw-r--r--secretsauce.patch53
1 files changed, 26 insertions, 27 deletions
diff --git a/secretsauce.patch b/secretsauce.patch
index c673975914f5..db0aba732617 100644
--- a/secretsauce.patch
+++ b/secretsauce.patch
@@ -1,46 +1,45 @@
-diff -Naur dvdisaster-0.72.6/scsi-layer.c dvdisaster-0.72.6.new/scsi-layer.c
---- dvdisaster-0.72.6/scsi-layer.c 2014-05-28 21:09:00.000000000 +0200
-+++ dvdisaster-0.72.6.new/scsi-layer.c 2015-04-12 17:20:02.484953943 +0200
-@@ -2596,7 +2596,7 @@
- }
+diff -Naur dvdisaster-0.79.6/scsi-layer.c dvdisaster-0.79.6.new/scsi-layer.c
+--- dvdisaster-0.79.6/scsi-layer.c 2017-11-13 18:53:35.000000000 +0000
++++ dvdisaster-0.79.6.new/scsi-layer.c 2021-01-29 12:59:33.395625190 +0000
+@@ -2588,14 +2588,14 @@
Verbose("# query_type() returned.\n");
--
-+ /*
- if(dh->subType == UNSUPPORTED)
+
+- if(dh->subType == UNSUPPORTED)
++ /*if(dh->subType == UNSUPPORTED)
{ char *td = alloca(strlen(dh->typeDescr)+1);
-@@ -2605,7 +2605,7 @@
+ strcpy(td, dh->typeDescr);
+ CloseDevice(dh);
Stop(_("This software does not support \"%s\" type media."), td);
return NULL;
- }
--
-+ */
+- }
++ }*/
+
if(dh->sessions>1)
{ int sessions = dh->sessions;
-
-@@ -2685,6 +2685,7 @@
+@@ -2687,20 +2687,20 @@
}
default:
-+ ;/*
- { char *td = alloca(strlen(dh->typeDescr)+1);
+- { char *td = alloca(strlen(dh->typeDescr)+1);
++ ;/*{ char *td = alloca(strlen(dh->typeDescr)+1);
strcpy(td, dh->typeDescr);
-@@ -2692,13 +2693,14 @@
+ CloseImage(image);
Stop(_("This software does not support \"%s\" type media."), td);
return NULL;
- }
-+ */
+- }
++ }*/
}
--
-+ /*
- if(dh->mainType == DVD && query_copyright(dh))
- { CloseDevice(dh);
+
+- if(dh->mainType == DVD && query_copyright(dh))
++ /*if(dh->mainType == DVD && query_copyright(dh))
+ { CloseImage(image);
Stop(_("This software does not support encrypted media.\n"));
- }
--
-+ */
+ return NULL;
+- }
++ }*/
+
/* Create the bitmap of simulated defects */
- if(Closure->simulateDefects)