Changeset 4001


Ignore:
Timestamp:
Nov 21, 2003, 7:59:12 AM (17 years ago)
Author:
fkr
Message:

Bug: #1107
Submitted by: leimy@… (Dave Leimbach)
Reviewed by:
Approved by:
Obtained from:

get bochs working on panther. mostly work from leimy@, some cleaning
done by me.

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.10 2003/04/05 04:27:42 jpm Exp $
     1# $Id: Portfile,v 1.11 2003/11/21 07:59:12 fkr Exp $
    22
    33PortSystem 1.0
     
    2424        http://cesnet.dl.sourceforge.net/sourceforge/${name}/
    2525checksums       md5 12e591b5cec2e0051e18605483f64678
    26 patchfiles      patch-Makefile.in patch-cdrom_osx
     26patchfiles      patch-Makefile.in patch-cdrom_osx patch-poly
    2727post-patch {
    28         set path "${portpath}/${workdir}/${worksrcdir}"
     28        set path "${workpath}/${worksrcdir}"
    2929        set data_dir "${prefix}/bochs"
    3030       
  • trunk/dports/emulators/bochs/files/patch-cdrom_osx

    r1028 r4001  
    1010 
    1111   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.