Ticket #14924: Portfile.diff

File Portfile.diff, 611 bytes (added by simon@…, 17 years ago)
  • Portfile.

    old new  
    6565        # Fix Leopard problems by disabling assembly for now; see #13019.
    6666        configure.args-append --disable-mmx
    6767        post-patch {
    68                 reinplace "s|defined\(ARCH_X86\) \&\& defined\(CONFIG_GPL\)|defined\(ARCH_X86\) \\\&\\\& defined\(CONFIG_GPL\) \\\&\\\& \\\!defined\(__APPLE__\)|g" libswscale/rgb2rgb.c
     68                reinplace "s|defined\(ARCH_X86\) \&\& defined\(CONFIG_GPL\)|defined\(ARCH_X86\) \\\&\\\& defined\(CONFIG_GPL\) \\\&\\\& \\\!defined\(__APPLE__\)|g" ${worksrcpath}/libswscale/rgb2rgb.c
    6969        }
    7070}
    7171