summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd/dvdisaster/encryption.patch
diff options
context:
space:
mode:
authorJascha Geerds <jg@ekby.de>2015-04-27 23:50:56 +0200
committerJascha Geerds <jg@ekby.de>2015-04-28 00:01:49 +0200
commit00ab10de74bb8d67d426e6181cdad904e607c95a (patch)
treed12a9080e8366189453e606515dfbbb658bf1572 /pkgs/tools/cd-dvd/dvdisaster/encryption.patch
parent169efee101d0ab56269d82991bdf6faed3523ede (diff)
downloadnixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar
nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar.gz
nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar.bz2
nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar.lz
nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar.xz
nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar.zst
nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.zip
dvdisaster: Apply debian's patches to allow ROM type and encrypted DVDs
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 */
+