Changeset 4001 for trunk/dports
- Timestamp:
- Nov 21, 2003, 7:59:12 AM (20 years ago)
- Location:
- trunk/dports/emulators/bochs
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/emulators/bochs/Portfile
r2410 r4001 1 # $Id: Portfile,v 1.1 0 2003/04/05 04:27:42 jpmExp $1 # $Id: Portfile,v 1.11 2003/11/21 07:59:12 fkr Exp $ 2 2 3 3 PortSystem 1.0 … … 24 24 http://cesnet.dl.sourceforge.net/sourceforge/${name}/ 25 25 checksums md5 12e591b5cec2e0051e18605483f64678 26 patchfiles patch-Makefile.in patch-cdrom_osx 26 patchfiles patch-Makefile.in patch-cdrom_osx patch-poly 27 27 post-patch { 28 set path "${ portpath}/${workdir}/${worksrcdir}"28 set path "${workpath}/${worksrcdir}" 29 29 set data_dir "${prefix}/bochs" 30 30 -
trunk/dports/emulators/bochs/files/patch-cdrom_osx
r1028 r4001 10 10 11 11 mach_port_t masterPort = NULL; 12 --- iodev/cdrom_osx.cc Sun Nov 2 23:19:20 2003 13 +++ iodev/cdrom_osx_monkey.cc Sun Nov 2 23:20:19 2003 14 @@ -118,7 +118,7 @@ 15 // which is true if the media is indeed ejectable. So add property 16 // to CFDictionary for matching. 17 CFDictionarySetValue( classesToMatch, 18 - CFSTR( kIOMediaEjectable ), kCFBooleanTrue ); 19 + CFSTR(kIOMediaEjectableKey), kCFBooleanTrue ); 20 } 21 kernResult = IOServiceGetMatchingServices( *masterPort, 22 classesToMatch, mediaIterator ); 23 @@ -143,7 +143,7 @@ 24 { 25 CFTypeRef deviceFilePathAsCFString; 26 deviceFilePathAsCFString = IORegistryEntryCreateCFProperty( 27 - nextMedia, CFSTR( kIOBSDName ), 28 + nextMedia, CFSTR( kIOBSDNameKey ), 29 kCFAllocatorDefault, 0 ); 30 *deviceFilePath = '\0'; 31 if ( deviceFilePathAsCFString )
Note: See TracChangeset
for help on using the changeset viewer.