aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mmpython/files/patch-disc__discinfo.py
blob: 28c735567ab200b20b2b862a2c7b11d580612347 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- disc/discinfo.py.orig   Sun Feb 26 15:51:41 2006
+++ disc/discinfo.py    Sun Feb 26 15:51:44 2006
@@ -139,8 +139,9 @@
     # doesn't work. Suppress that warning for Linux users,
     # until a better solution can be found.
     if os.uname()[0] == 'FreeBSD':
-        CDIOREADTOCENTRYS = 0xc0086305L
+        CDIOREADTOCENTRYS = -1073192187
         CD_MSF_FORMAT = 2
+        CDS_NO_DISC = 1
         
     try:
         fd = os.open(device, os.O_RDONLY | os.O_NONBLOCK)