[MacPorts] #59371: harfbuzz fails to compile on i386 older macs

MacPorts noreply at macports.org
Thu Oct 17 20:04:08 UTC 2019


#59371: harfbuzz fails to compile on i386 older macs
--------------------------+----------------------
 Reporter:  rmottola      |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:
 Keywords:  i386 leopard  |       Port:  harfbuzz
--------------------------+----------------------
 Old headers produce errors with newer compilers, which are though needed.
 I have had the issue right now on 10.5

 I was able to compile harfbuzz by adding this to the portfile (adapted and
 simplifed from cmake):


 {{{
 platform darwin {
     if {${os.arch} eq "i386" && ${os.major} <= 9} {
         # The old system headers do some bit shifting on Intel about which
         # newer compilers throw errors:
         # SecKeychain.h:102:46: error: shift expression '(1853123693 <<
 8)' overflows [-fpermissive]
         configure.cflags-append -fpermissive
         configure.cxxflags-append -fpermissive
     }
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59371>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list