Ticket #33284: fontforge-xcode43.patch

File fontforge-xcode43.patch, 793 bytes (added by g5pw (Aljaž Srebrnič), 12 years ago)

Patch made! It successfully compiles under Xcode 4.3 and it should work with previous versions, too!

  • graphics/fontforge/Portfile

    old new  
    7272        ${worksrcpath}/gutils/dynamic.c
    7373    reinplace "/^applicationsdir/s|/Applications|${applications_dir}|" \
    7474        ${worksrcpath}/Makefile.dynamic.in
     75    reinplace "s|/Developer/Headers/||" \
     76        ${worksrcpath}/gutils/giomime.c ${worksrcpath}/fontforge/startui.c ${worksrcpath}/fontforge/macbinary.c
    7577}
    7678
    7779depends_lib \
     
    103105                --x-libraries=${prefix}/lib
    104106
    105107configure.ldflags-append -lintl
     108configure.cflags-append \
     109         "-I/Applications/Xcode.app/Contents/Developer/Headers/ -I/Developer/Headers"
     110
    106111
    107112# http://trac.macports.org/ticket/29840
    108113if {${configure.compiler} == "llvm-gcc-4.2"} {