about summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd/dvdisaster/encryption.patch
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-05-01 15:57:09 -0700
committerWilliam A. Kennington III <william@wkennington.com>2015-05-01 15:57:09 -0700
commit00df204c82bd6d585c3f19d1a31588fa72519184 (patch)
tree4201fed8adf0505e787b9cf335cd52a7ad657570 /pkgs/tools/cd-dvd/dvdisaster/encryption.patch
parent8591db4b10e50ad3b61b1708787e4de314424d5d (diff)
parentcf0b6b7be866aaeac75c2ee24245a7bb6ba633b2 (diff)
downloadnixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar.gz
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar.bz2
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar.lz
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar.xz
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.tar.zst
nixlib-00df204c82bd6d585c3f19d1a31588fa72519184.zip
Merge remote-tracking branch 'upstream/master' into staging
Diffstat (limited to 'pkgs/tools/cd-dvd/dvdisaster/encryption.patch')
-rw-r--r--pkgs/tools/cd-dvd/dvdisaster/encryption.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/tools/cd-dvd/dvdisaster/encryption.patch b/pkgs/tools/cd-dvd/dvdisaster/encryption.patch
new file mode 100644
index 000000000000..a9383cb13cfe
--- /dev/null
+++ b/pkgs/tools/cd-dvd/dvdisaster/encryption.patch
@@ -0,0 +1,21 @@
+Author: n/a
+Description: Disables to skip on encrypted disks (e.g. DVD with CSS-Encryption).
+
+Index: dvdisaster/scsi-layer.c
+===================================================================
+--- dvdisaster.orig/scsi-layer.c	2012-04-08 21:51:10.995588783 +0900
++++ dvdisaster/scsi-layer.c	2012-04-08 21:51:29.259678075 +0900
+@@ -2693,11 +2693,12 @@
+        	 return NULL;
+       }
+    }
+-
++/*
+    if(dh->mainType == DVD && query_copyright(dh))
+    {  CloseDevice(dh);
+       Stop(_("This software does not support encrypted media.\n"));
+    }
++*/
+ 
+    /* Create the bitmap of simulated defects */
+