mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 05:00:30 -04:00
- Add CDS constant missed on FreeBSD. - Catch up with lsdvd output format changes. - Remove obsolete USE_REINPLACE. Approved by: maintainer
13 lines
471 B
Python
13 lines
471 B
Python
--- 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)
|