From owner-freebsd-gecko@FreeBSD.ORG Tue Jun 28 04:50:10 2011 Return-Path: Delivered-To: gecko@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 542251065672 for ; Tue, 28 Jun 2011 04:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 133568FC22 for ; Tue, 28 Jun 2011 04:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5S4o9PS050966 for ; Tue, 28 Jun 2011 04:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5S4o99S050965; Tue, 28 Jun 2011 04:50:09 GMT (envelope-from gnats) Resent-Date: Tue, 28 Jun 2011 04:50:09 GMT Resent-Message-Id: <201106280450.p5S4o99S050965@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: gecko@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pan Tsu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C305106566B for ; Tue, 28 Jun 2011 04:48:48 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 159C98FC19 for ; Tue, 28 Jun 2011 04:48:47 +0000 (UTC) Received: by bwa20 with SMTP id 20so2558672bwa.13 for ; Mon, 27 Jun 2011 21:48:47 -0700 (PDT) Received: by 10.204.135.211 with SMTP id o19mr5211115bkt.63.1309236526441; Mon, 27 Jun 2011 21:48:46 -0700 (PDT) Received: from localhost (raskin.torservers.net [74.120.15.150]) by mx.google.com with ESMTPS id o3sm1549064bka.0.2011.06.27.21.48.43 (version=SSLv3 cipher=OTHER); Mon, 27 Jun 2011 21:48:45 -0700 (PDT) Message-Id: <86vcvqtvbz.fsf@gmail.com> Date: Tue, 28 Jun 2011 08:48:32 +0400 From: Pan Tsu To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/158371: [patch] www/firefox: use asm in bundled libjpeg-turbo X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2011 04:50:10 -0000 >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: