Ticket #20938: patch-ffmpeg.2.diff

File patch-ffmpeg.2.diff, 665 bytes (added by dbevans (David B. Evans), 15 years ago)

Revised patch for Portfile

  • Portfile

     
    133133    # ticket #20235
    134134    depends_lib-delete path:lib/pkgconfig/sdl.pc:libsdl
    135135    depends_lib-append path:lib/pkgconfig/sdl.pc:libsdl-devel
     136    # ticket #20938
     137    if { ![variant_isset no_gpl] } {
     138        configure.args-delete --enable-swscale
     139    }
     140    if { ![variant_isset no_mmx] } {
     141        configure.args-append --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext
     142    }
    136143}
    137144
    138145variant no_mmx description {disable all x86 asm optimizations} {