Changeset 95739 for trunk/dports/editors


Ignore:
Timestamp:
Jul 20, 2012, 6:53:27 PM (8 years ago)
Author:
cal@…
Message:

HexFiend: Fix build on 32 bit systems, closes #35244

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/hexfiend/Portfile

    r89781 r95739  
    3939}
    4040
     41post-patch {
     42    # this is required for builds on 32 bit systems, because NSTag is a signed
     43    # integer and these values (NSUTF16BigEndianStringEncoding and
     44    # NSUTF16LittleEndianStringEncoding) both have the MSB set making them not
     45    # representable in signed 32 bit integers.
     46    # Applying these on 64 bit systems is safe, too, because the leading 4 bytes
     47    # will be cut off by a cast.
     48    reinplace "s/2415919360/-1879047936/g" ${worksrcpath}/English.lproj/MainMenu.xib
     49    reinplace "s/2483028224/-1811939072/g" ${worksrcpath}/English.lproj/MainMenu.xib
     50}
     51
    4152xcode.target        HexFiend_2
    4253xcode.configuration Release
Note: See TracChangeset for help on using the changeset viewer.