summaryrefslogtreecommitdiff
path: root/multimedia/mmpython/files/patch-video_vcdinfo.py
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-06-18 08:27:37 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-06-18 08:27:37 +0000
commita2711463109305ceba49c915bde4aec538f3b603 (patch)
tree9dce28ce8ef10d9395e1c9309404bb71acc2a586 /multimedia/mmpython/files/patch-video_vcdinfo.py
parentUpdate to 0.31 (diff)
- Fix a fairly major compile-time bug that causes ifoparser.so not to get
compiled, which in turns prevents lsdvd from working. - Transfer maintainership to submitter PR: ports/68025 Submitted by: Lewis Thompson <purple@lewiz.net> Approved by: old maintainer
Notes
Notes: svn path=/head/; revision=111710
Diffstat (limited to 'multimedia/mmpython/files/patch-video_vcdinfo.py')
-rw-r--r--multimedia/mmpython/files/patch-video_vcdinfo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/mmpython/files/patch-video_vcdinfo.py b/multimedia/mmpython/files/patch-video_vcdinfo.py
index 767f466bffce..356a71eb2828 100644
--- a/multimedia/mmpython/files/patch-video_vcdinfo.py
+++ b/multimedia/mmpython/files/patch-video_vcdinfo.py
@@ -10,9 +10,9 @@ $FreeBSD$
- f.seek(32808, 0)
- buffer = f.read(50000)
- f.close()
-+ f.seek(32768, 0)
-+ buffer = f.read(50040)
-+ f.close()
++ f.seek(32768, 0) # FreeBSD requires seeking to 2048 multiple boundary.
++ buffer = f.read(50040) # Read 40 more to compensate for above seek.
++ f.close()
if buffer.find('SVCD') > 0 and buffer.find('TRACKS.SVD') > 0 and \
buffer.find('ENTRIES.SVD') > 0: