[MacPorts] #27819: cdrdao @1.2.3 Cannot setup device IODVDServices
MacPorts
noreply at macports.org
Mon Aug 1 09:39:33 PDT 2011
#27819: cdrdao @1.2.3 Cannot setup device IODVDServices
---------------------------------+------------------------------------------
Reporter: awaters@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: cdrdao
---------------------------------+------------------------------------------
Comment(by jagerman@…):
The attached Portfile and patch fix this:
IODVDServices doesn't appear to work anymore--perhaps this is an OS X
change? The actual device needed--which cdrdao will try to use by default
if --device is not specified--is something like:
IOService:/AppleACPIPlatformExpert/PCI0 at 0/AppleACPIPCI/SATA at B/AppleMCP79AHCI/PRT1 at 1/IOAHCIDevice at 0/IOAHCISerialATAPI/IOSCSIPeripheralDeviceNub/IOSCSIPeripheralDeviceType05/IODVDServices
That varies depending on your system, of course. But there's another bug,
which is that while cdrdao has code to get the default device from the
system, it copies it into a 128-length char array, but the above is longer
than 128, so it gets truncated and fails. The attached patch doubles the
length of the buffer, which fixes the problem.
I also dropped the patch-libscg__scsi-mac-iokit.c patch from the Portfile,
because as of 1.2.3, libscg isn't used; 1.2.3 adds and uses a native OS X
interface instead.
--
Ticket URL: <https://trac.macports.org/ticket/27819#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list