[MacPorts] #73579: x264 fails to build on 10.5 system compiler

MacPorts noreply at macports.org
Sat Aug 29 22:07:23 UTC 2026


#73579: x264 fails to build on 10.5 system compiler
-----------------------+----------------------
  Reporter:  rmottola  |      Owner:  dbevans
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard
      Port:  x264      |
-----------------------+----------------------

Comment (by ballapete):

 With version @0.165.3222 and GCC 15 I found that configure needs a patch:

 {{{
 --- configure~  2025-06-08 18:24:23.000000000 +0200
 +++ configure   2026-08-29 23:01:02.000000000 +0200
 @@ -821,7 +821,7 @@
              AS="${AS-${CC}}"
              AS_EXT=".c"
              if [ $SYS = MACOSX ] ; then
 -                CFLAGS="$CFLAGS -faltivec -fastf -mcpu=G4"
 +                CFLAGS="$CFLAGS -faltivec -mcpu=G4"
              else
                  CFLAGS="$CFLAGS -maltivec -mabi=altivec"
                  define HAVE_ALTIVEC_H
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/73579#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list