Date: Tue, 28 Jun 2011 08:48:32 +0400 From: Pan Tsu <inyaoo@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/158371: [patch] www/firefox: use asm in bundled libjpeg-turbo Message-ID: <86vcvqtvbz.fsf@gmail.com> Resent-Message-ID: <201106280450.p5S4o99S050965@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158371 >Category: ports >Synopsis: [patch] www/firefox: use asm in bundled libjpeg-turbo >Confidential: no >Severity: non-critical >Priority: low >Responsible: gecko >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 28 04:50:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Pan Tsu >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: --- a.diff begins here --- Index: www/firefox/files/patch-configure.in =================================================================== RCS file: /a/.cvsup/ports/www/firefox/www/firefox/files/patch-configure.in,v retrieving revision 1.2 diff -u -p -r1.2 patch-configure.in --- www/firefox/files/patch-configure.in 22 Mar 2011 15:24:49 -0000 1.2 +++ www/firefox/files/patch-configure.in 28 Jun 2011 04:22:28 -0000 @@ -69,3 +69,18 @@ SunOS:x86) VPX_ASFLAGS="-f elf32 -rnasm -pnasm" VPX_X86_ASM=1 +@@ -6392,6 +6402,14 @@ if test -n "$MOZ_LIBJPEG_TURBO"; then + LIBJPEG_TURBO_ASFLAGS="-f elf64 -rnasm -pnasm -D__x86_64__ -DPIC -DELF" + LIBJPEG_TURBO_X64_ASM=1 + ;; ++ FreeBSD:i386) ++ LIBJPEG_TURBO_ASFLAGS="-f elf32 -rnasm -pnasm -DPIC -DELF" ++ LIBJPEG_TURBO_X86_ASM=1 ++ ;; ++ FreeBSD:amd64) ++ LIBJPEG_TURBO_ASFLAGS="-f elf64 -rnasm -pnasm -D__x86_64__ -DPIC -DELF" ++ LIBJPEG_TURBO_X64_ASM=1 ++ ;; + SunOS:i?86) + LIBJPEG_TURBO_ASFLAGS="-f elf32 -rnasm -pnasm -DPIC -DELF" + LIBJPEG_TURBO_X86_ASM=1 --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vcvqtvbz.fsf>