Ticket #20938: patch-ffmpeg-i386-gcc-4.0.diff

File patch-ffmpeg-i386-gcc-4.0.diff, 857 bytes (added by dbevans (David B. Evans), 15 years ago)

Patch to use gcc-4.0 on snow leopard i386 (32 bit)

  • Portfile

     
    134134    # ticket #20235
    135135    depends_lib-delete path:lib/pkgconfig/sdl.pc:libsdl
    136136    depends_lib-append path:lib/pkgconfig/sdl.pc:libsdl-devel
    137     # ticket #20938 -- disable mmx for 32 bit intel only
     137    # ticket #20938 -- use gcc-4.0 for snow leopard i386
    138138    if { ![variant_isset no_sl_20938] && [info exists build_arch] && $build_arch == "i386" } {
    139         if { ![variant_isset no_gpl] } {
    140             configure.args-delete --enable-swscale
    141         }
    142         if { ![variant_isset no_mmx] } {
    143             configure.args-append --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext
    144         }
     139        configure.compiler gcc-4.0
    145140    }
    146141}
    147142