summaryrefslogtreecommitdiff
path: root/multimedia/mmpython/files/patch-disc_dvdinfo.py
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-20 09:21:12 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-20 09:21:12 +0000
commit21a9ece01504904aa17fd8bb6a673994e503def1 (patch)
tree379171d558993944b419db69cbac6ecdfcd33bb9 /multimedia/mmpython/files/patch-disc_dvdinfo.py
parent- Update to 0.4 (diff)
- Update to 0.4.5
PR: ports/70581 Submitted by: Lewis Thompson <purple@lewiz.net> (maintainer)
Notes
Notes: svn path=/head/; revision=116748
Diffstat (limited to 'multimedia/mmpython/files/patch-disc_dvdinfo.py')
-rw-r--r--multimedia/mmpython/files/patch-disc_dvdinfo.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/multimedia/mmpython/files/patch-disc_dvdinfo.py b/multimedia/mmpython/files/patch-disc_dvdinfo.py
deleted file mode 100644
index 8639815bc8db..000000000000
--- a/multimedia/mmpython/files/patch-disc_dvdinfo.py
+++ /dev/null
@@ -1,27 +0,0 @@
-
-$FreeBSD$
-
---- disc/dvdinfo.py.orig Thu Jun 10 20:53:51 2004
-+++ disc/dvdinfo.py Thu Jun 10 20:55:02 2004
-@@ -115,8 +115,8 @@
-
- # brute force reading of the device to find out if it is a DVD
- f = open(device,'rb')
-- f.seek(32808, 0)
-- buffer = f.read(50000)
-+ f.seek(32768, 0) # FreeBSD requires seeking to a 2048 multiple boundary.
-+ buffer = f.read(50040) # Read 40 more to compensate for above seek.
-
- if buffer.find('UDF') == -1:
- f.close()
-@@ -148,8 +148,8 @@
-
- def isDVDiso(self, f):
- # brute force reading of the device to find out if it is a DVD
-- f.seek(32808, 0)
-- buffer = f.read(50000)
-+ f.seek(32768, 0) # FreeBSD requires seeking to a 2048 multiple boundary.
-+ buffer = f.read(50040) # Read 40 more to compensate for above seek.
-
- if buffer.find('UDF') == -1:
- return 0